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

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

Reply via email to