I don't know why it works in the command window.
However, if you set the key configuration to be Ctrl plus an arrow key for "Editor: Word Left" and "Editor: Word Right" in the preferences it will work in the other windows.
Maybe that should be the default setting?