Vim Tips Wiki

Opening new buffer below the current

Revision as of 20:11, July 1, 2013 by Fritzophrenic (Talk | contribs)

1,619pages on
this wiki
Tip 869 Printable Monobook Previous Next

created 2005 · complexity basic · author Ivan Tishchenko · version 6.0

Have you ever been annoyed with that fact that :new opens a buffer above the current? If yes, then try :below new. You can also have all splits open below the current window by seeting the splitbelow option (e.g. place in your .vimrc):

set splitbelow

And the process is similar if you want vertically-split windows to open to the right:

set splitright

Around Wikia's network

Random Wiki