Archive for July, 2011

Vim Tips of the Day: Moving and working with split windows

Jul
5
:vs <filename>   Open a file in vertical split window
:sp <filename>   Open a file in horizontal split window
Ctrl + ww             Switch between windows (in rotation)
Ctrl + wj               Switch to split window on the bottom
Ctrl + wk              Switch to split window on the top
Ctrl + wh              Switch to split window on the left
Ctrl + wl               Switch to split window on the right

-Edwin