Monday, November 30, 2009

Re: Prevent from entering to insert mode before finishing mapping

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

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

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

No comments: