> Hello Andy,
>
> In the case of your script with "BufWinEnter" replacing "BufReadPost"
> and supposing "set insertmode" in the .vimrc, we have seen that
> escaping insert mode with CRTL-L results in no column remembering when
> switching between buffers.
> This can be worked around in the following way:
> Quit insert mode using<Esc> with "imap<Esc> <C-O>:set
> noinsertmode<CR>"
> Reenter insert mode using "i" with "map i :set insertmode<CR>"
>
> Best regards
> Jean Johner
Might work, but it's only a workaround ...
There are more commands that enter Insert mode:
a o O I A gI maybe others
and there are more commands that stop Insert mode:
CTRL-C, CTRL-\_CTRL-N, ...
User may have mappings using these commands in non-remappable mode
(bypassing the above mappings).
--
Andy
--
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
To unsubscribe, reply using "remove me" as the subject.
No comments:
Post a Comment