Wikia

Vim Tips Wiki

Changes: Maximize current window

Edit

Back to page

(category)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 3: Line 3:
 
|previous=998
 
|previous=998
 
|next=1001
 
|next=1001
|created=September 23, 2005
+
|created=2005
 
|complexity=basic
 
|complexity=basic
 
|author=Narayanan Iyer
 
|author=Narayanan Iyer
Line 23: Line 23:
 
</pre>
 
</pre>
   
Or you can use CTRL-W o (or CTRL-W CTRL-O), which does the same thing as <tt>:only</tt> in even fewer keystrokes.
+
Or you can use CTRL-W o (or CTRL-W CTRL-O), which does the same thing as <code>:only</code> in even fewer keystrokes.
   
 
==References==
 
==References==

Latest revision as of 06:02, July 13, 2012

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