On 2010-02-12, Tony Mechelynck wrote: > If you worry that comment leaders are inserted while pasting, then you > should use ":set paste" (see :help 'paste') temporarily when pasting > (and ":set nopaste" when you're finished pasting and start typing > again), and it won't happen anymore IIUC. Or else, you could use gvim > instead of Console Vim, because gvim can tell the difference between > typing and pasting, and it will do the right thing even if 'paste' isn't > set.
"Console Vim", as you call it, can also tell the difference between typing and pasting if it is compiled with the right features and is run in an appropriate terminal. I paste formatted text into my vim running in an xterm all the time. I don't know for sure what features of either are required to do that; for me, it just works. Regards, Gary -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
