Vim Tips Wiki

Maximize current window

Revision as of 22:46, May 23, 2010 by Fritzophrenic (Talk | contribs)

1,614pages on
this wiki
Tip 999 Printable Monobook Previous Next

created September 23, 2005 · complexity basic · author Narayanan Iyer · version 5.7

Map a key to make the current window as large as possible (without closing other windows):

map <F5> <C-W>_<C-W><Bar>

If you don't mind closing other windows, you can make the current window even larger:


Or you can use CTRL-W o (or CTRL-W CTRL-O), which does the same thing as :only in even fewer keystrokes.



Around Wikia's network

Random Wiki