Wednesday, July 30, 2008

Window Management

If you've got a bunch of split windows in Vim and want to close them, here are two handy window management shortcuts.

Ctrl-w q (unsplit one window at a time)
Ctrl-w Ctrl-o (close all windows except current)

Thanks to Bill Pitre for the tips!

1 comment:

Whispers in your ear said...

Just to clarify:

Ctrl-W q = :quit = :q
Ctrl-W o = :only = :on