file in INSERT mode pressing <CR> from a commented lign (// on front) will
automatically insert another // on the following line.
//comments [here in insert mode I hit <CR>
// [there I automatically get //] [then if I hit <CR> again]
// [there I automatically get // again]
Note : when I edit my .vimrc I get the same behaviour with " (the vim
comment mark).
This is a big problem as when I want to copy code from a non vim file, I
copy it in the mouse, and the paste result is messed up with comments
everywhere.
I try to locate the problem but can't find it.
Do one of you have similar behaviour and know how to desactivate this
"comment auto-insertion" ??
PS: I am using the omnicomplete + Align + ctab + superTab + snipMate
--
View this message in context: http://vim.1045645.n5.nabble.com/Anoying-autocomplete-functionality-tp3248619p3248619.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
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
No comments:
Post a Comment