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 window instead of below? If yes, then try :below new to open the new window below the current one, for this one command.

You can also have all splits open below the current window by default, using the splitbelow option. For example, place the following in your vimrc:

set splitbelow

The process is similar if you want vertically-split windows to open to the right. Use :below vnew to create a new vertical buffer on the right, or put the following in vimrc:

set splitright


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.