Consider the following script:

    vim -u NONE -c 'vnew | wincmd h | belowright copen'
. After running it the layout is the following

    +----+----+
    | 1  | 2  |
    |    +----+
    |    | qf |
    +----+----+
while expected the same as when running

    vim -u NONE -c 'vnew | wincmd h | belowright new'
:

    +----+----+
    | 1  | 2  |
    +----+    |
    | qf |    |
    +----+----+
.

According to the doc
> If it contains a command that splits a window, it will be opened right 
> (vertical split) or below (horizontal split) the current window.
, hence “belowright copen” shows invalid behavior, not “belowright new”.

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui