Vim Window spliting

Rating: 
+1
-281
-1
You voted '-1'.
Clone this Snippet

Window spliting

:e filename 	Edit filename in current window
:split filename 	Split the window and open filename
ctrl-w up arrow 	Puts cursor in top window
ctrl-w ctrl-w 	Puts cursor in next window
ctrl-w_ 	Maximize current window vertically
ctrl-w| 	Maximize current window horizontally
ctrl-w= 	Gives the same size to all windows
10 ctrl-w+ 	Add 10 lines to current window
:vsplit file 	Split window vertically
:sview file 	Same as :split in readonly mode
:hide 	Close current window
:­nly 	Close all windows, excepted current
:b 2 	Open #2 in this window
Category: 
Vim