Shortcut for moving between Vim windows

Posted by Kamilski81 on Stack Overflow See other posts from Stack Overflow or by Kamilski81
Published on 2011-06-19T16:45:35Z Indexed on 2011/06/20 16:23 UTC
Read the original article Hit count: 117

Filed under:
|
|

Let's say I have single Vim tab displaying 9 buffers (equally separated, like a table 3x3). Currently, to get from the top left window to the bottom right one, I have to press 3, Ctrl+W, J, and then 3, Ctrl+W, L. This is cumbersome and I would like to just be able to press Ctrl+9 to go to the 9th window and Ctrl+3 to go to the 3rd window, etc. Is there any easy way I can map something like this in Vim?

© Stack Overflow or respective owner

Related posts about vim

Related posts about window