On Nov 19, 12:33 am, Tony Mechelynck <[email protected]>
wrote:
> If you want to "kill" an undo point, see ":help :undojoin". I'm not sure
> it will work in this case though. The following is untested:
>
>         :inoremap (     ()<Esc>:undojoin|startinsert<CR>
>

Doesn't work (at least not in 7.2.293 in Windows), unless calling it
in a mapping somehow differs from calling it normally. <C-
O>:startinsert<CR> also fails. I'd also be interested in this. I may
look into the repeat plugin, which surround.vim uses to good effect,
but I was hoping this built-in feature could provide the answer.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to