> How can multiple commands be mapped correctly to one key? > http://pastebin.com/d36ce29a5 Here is my .vimrc.
Your issue is that some commands don't allow the bar "|" character :h command -> search for -bar The only way to cope with this is using the almighty exec.. exec "cmd" | exec "cmd" You have to use <bar> instead of | in mappings However if things get more complex it usually is best to define a function and call that. Marc Weber -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
