Vim Tips Wiki
(Added references, incorporated comments about <tt>:only</tt> into tip body, then removed comments.)
(Removed review marker.)
Line 1: Line 1:
{{review}}
 
 
{{TipImported
 
{{TipImported
 
|id=999
 
|id=999

Revision as of 00:25, 3 June 2008

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:

:only

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

References

Comments