Friday, August 8, 2014

Re: Arrows keys in insert mode stopped working...

On Friday, August 8, 2014 8:15:26 AM UTC-5, Paolo Bolzoni wrote:
> I want to force myself to use
>
> Control-C to change from Insert Mode to Normal Mode instead of
>
> Esc. In Insert mode the effect of Esc and Control-C is the same.
>
>
>
> My Esc is not hard to reach, true... but using Control-C and not
>
> moving the hand at all sounded more "vimsical" (ok, sorry for the
>
> pun)
>
>

Note that using <C-C> to quit insert mode means that abbreviations will not be expanded, and the InsertLeave autocmd does not fire.

The former makes some uses of abbreviations not usable for you, the latter makes some plugins not function properly.

You may want to map <C-C> in insert mode to first expand abbreviations with <C-]>, and maybe do any InsertLeave autocmds using a :doautocmd command.

--
--
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