Saturday, May 1, 2010

Re: How to :new a window below the current window?

On 05/01/2010 05:59 PM, Peng Yu wrote:
> :new by default open a window above the current window. Is there a
> command to open a new window below the current one?

You can use

:below new

which you can read about at

:help :below

If you want it to always split below, you can investigate the
'splitbelow' option

:help 'splitbelow'

which you can set in your vimrc so that new/split windows are
created below the current one instead of above it. However, it's
easy enough to override with the ":bel" command.

-tim

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: