Question

I am using vim editor in pycharm. This editor is invoked using terminal which is available in pycharm. My problem is that, when i split vim window (:sp or :vsp), I am unable to switch to another window.(ctrl-w ctrl-w). It is obvious as most keyboard shortcuts, are not working in this integrated environment though commands are working fine. What is the command to switch window?

For more details: I tried 'wincmd R'. It just switching position. But cursor remains in same position i.e. in old window. So its not useful. Is there any argument for 'wincmd' to actual move focus from one window to another?

No correct solution

OTHER TIPS

Did you read :help window-move-cursor and :help :wincmd?

The former has all the commands that allow you to move the cursor from one window to another and the latter is very clear about the relationship between <C-w><char> and :wincmd <char>.

If you already know <C-w>w, what do you think would be the right argument to :wincmd?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top