0
This is really odd. Here's the key mapping from my .vimrc:
noremap <C-n> :vert new<CR>
The expected behaviour when I press CTRL-n is that it opens a vertical window but it somehow opens a horizontal window on top of the current.
The problem only arises for the mappings. When I try :vert new
from Vim, I get what I want, a new vertical window.
I have also tried :vnew
and :vsplit new
, they all work fine when I manually initiate them. Does not work with CTRL-n.
Please share your complete version (
$ vim --version
) and the content of your~/.vimrc
. – romainl – 2014-06-10T19:31:30.427From
$ vim --version
:VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 12 2013 00:23:33)
This is my .vimrc. Check out line 146.
I asked for your complete version. – romainl – 2014-06-11T05:19:27.107