I use iTerm2 with vim 7.3 and setup vim to switch the cursor from a block (normal mode) to a pipe shape in insert modes. When delimitMate is enabled and I'm typing something while being in insert mode the cursor shape changes on each keystroke from pipe->block->pipe.
Unfortunately that's a "bit" distracting and irritating. Therefore it would be nice if that bug could be resolved.
If you need any additional information please let me know.
I can't reproduce that. Can you setup a minimal configuration where the issue is present and share said configuration with me?
Well after reading your comment I have to admit that I wasn't quite accurate describing my problem. The described effect appears when I'm in insert mode and move the cursor with arrow keys.
Nevertheless here is a minimal config which should reproduce the problem:
filetype plugin indent on
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
You should still see the cursor change on the first time you press an arrow key after autocompleting a paren or bracket, but the following uses would be "normal".
Let me know how it works for you.
Thanks for the quick fix!
Now it works like expected when navigating with the arrow keys. Even after autcompleting a paren/bracket. But I just recognized the effect appears when using backspace and tab keys in insert mode, too.
Call #Finish() only when necessary for <BS>. As mentioned in #124.
The issue will not go away completely due to the way the mappings are set up. I restricted where will cause the flicker, just inside empty pairs..