On Wed, Nov 03, 2010 at 08:29:26AM -0700, statquant2 wrote: > > Hi, I am experiencing problems with a vim functionality : when I edit a cpp > 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
before clicking to perform your paste do :set paste -- 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
