Wikia

Vim Tips Wiki

Maximize current window

Talk0
1,612pages on
this wiki

Redirected from VimTip999

Tip 999 Printable Monobook Previous Next

created 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:

:only

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

ReferencesEdit

CommentsEdit

Around Wikia's network

Random Wiki