Tuesday, December 1, 2009

Splitting Vim Into Windows (Viewports)

OK. This is a new blog.

Here's a wonderful article
about splitting vim into
horizontal and vertical windows:

Split Vim Viewport

Here's the command I use to
split vim into two equal horizontal
windows:

:sp

Here's the command I use to
go up a window, moving from
the bottom window to the top
window:

cntrl-w k

Here's the command I use to
go down a window, moving from
the top window to the bottom
window:

cntrl-w j

Here's the command I use to get
rid of the extra window:

:q

Enjoy!


Ed Abbott

No comments:

Post a Comment