문제

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?

올바른 솔루션이 없습니다

다른 팁

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?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top