Hi all!

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

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

Raspunde prin e-mail lui