Multiple windows in Vim

Using multiple windows in VIM can make things a lot easier and it really isn’t hard to do.  To split the screen just do the following command:

:split <filename>

:vsplit <filename>

If you would like to switch between the windows you can use ctrl+w then use the arrow keys or ctrl+w again to just switch to the next window.  Follow the source link for some more advanced things you can do with the windows.

Source: vim tips and tricks: multiple windows

This entry was posted in Linux. Bookmark the permalink.

Leave a Reply