Monday, June 10, 2013

UltiSnips in macro/mapping leaves me in Insert mode

Given the UltiSnips snippet:

hello("there")
snippet h
hello("$1")
endsnippet

and the text "Oh<Tab>there<Esc>" recorded in the "a" register, typing "@a"
leaves me in insert mode:

hello("there")
^
still in inert mode here

I see this same problem invoking a snippet from a mapping. Adding
more <Esc>s doesn't help.

How can I complete the mapping or register execution back in normal
mode?

Thanks,

Steve

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: