Sorry for typo.  Use the following instead:

onoremap w  :<C-U>exe DoCommand() <Bar> call DoSomethingElse()<CR>


On Dec 1, 4:19 pm, anna klein <[email protected]> wrote:
> This gives me error E488: Trailing characters.

It's necessary to escape "|" as <Bar> in {rhs} of :map commands.

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to