On 22/03/11 5:31 PM, Rostyslaw Lewyckyj wrote:
On some files if a line starts with a " and I do an append followed by
a carriage return, then the next line gets a " inserted as the first
character. e.g. if I have:
1 " and this is number 1
2 Let vx=1
3 etc. et.c ...
And put the cursor on the 1 in line 1
Press an a to start append
Press the <CR> and then <ESC>
I am left with
1 " and this is number 1
2 " Let vx=1
3 etc. et.c ...

It's probably the 'comments' option along with r and/or o in
formatoptions, and it's probably being set by a flietype plugin.

:help 'comments'
:help 'formatoptions'
:help fo-table
:help :filetype-plugin-on

Cheers,

Ben.



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

Reply via email to