Vim Tips Wiki
(Change to TipImported template + severe manual clean)
(More manual cleaning to standardise format)
Line 3: Line 3:
 
|id=999
 
|id=999
 
|previous=998
 
|previous=998
|next=1000
+
|next=1001
 
|created=September 23, 2005
 
|created=September 23, 2005
 
|complexity=basic
 
|complexity=basic
Line 10: Line 10:
 
|rating=19/11
 
|rating=19/11
 
}}
 
}}
Use F5 to maximize current window. Add this to your vimrc:
+
Use F5 to maximize the current window. Add this to your vimrc:
   
 
<pre>
 
<pre>

Revision as of 09:44, 11 December 2007

Tip 999 Printable Monobook Previous Next

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


Use F5 to maximize the current window. Add this to your vimrc:

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

Comments

Unless there is a good reason to want other windows opened, I use

:only

Which can be abbreviated to

:on

and is thus very short.

I find the status bars of opened but minimized windows just take up screen space so I prefer closing them.


<C-W>o works also.


CTRL-W o is the same as :only, it closes all other windows. But this mapping is different, it just maximizes the current window.