Thursday, October 2, 2014

Re: Is there an opposite to i_CTRL-] ? [Was: How to force Vim to reconcider abbreviations?]

On Thursday, October 2, 2014 5:21:37 AM UTC-5, Erik Christiansen wrote:
> On 22.09.14 20:00, Christian Brabandt wrote:
>
> > Sounds like you are looking for Ctrl-] (:h i_CTRL-])
>
>
> Unfortunately, CTRL-[ is not it, since that merely replicates <Esc>.
>

The suggestion was CTRL-] NOT CTRL-[. See :help i_CTRL-]

But as I mentioned before, even this doesn't work after certain actions that CursorHoldI autocmds may take. I did post a workaround for that, re-inserting the text before triggering the expansion by deleting the WORD and using <C-R>- :

<C-C>ciW<C-R>-<C-]>

--
--
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/d/optout.

No comments:

Post a Comment