Artem Revolt wrote:
> I have discovered a behaviour, that seems to be a bug.
> To reproduce it, you need a indicator, showing when autocommand is
> triggered. For example, you can use following come in .vimrc:
>
> autocmd CursorMovedI * call Add()
> function! Add()
> let save_cursor = getpos(".")
> %s/1/1+/e
> call setpos('.', save_cursor)
> endfunction
> finish
>
> Then, start editing new file. Put there following text
>
> 1
> Abbb
> Accc
> A
>
> And put cursor at the last line. Then press a<C-X><C-N><C-N><C-N>bbb
> When you typing last b chars plusses are not adding to the first line,
> indicating, that CursorMovedI autocommand is not triggered.
>
> Hope, you can find out what happens,
This is intentional, the event is not triggered when the popup menu is
visible. I'll add a remark to the help.
--
The early bird gets the worm. The second mouse gets the cheese.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" 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