I've mapped CTRL+Meta+n to :split | resize 15 | term
. This command works when run from Vim, but when I put the command in my .vimrc
, on Vim startup, I get the following error:
zsh:1: parse error near '>'
[Process exited 1]
When removing the mapping, Vim starts normally.
<Bar>
instead of|
in your mapping? See:help map-bar
<Bar>
instead of|
worked, thank you! Can you post your comment as an answer so I can accept it?