Debian vi disable autoindent when pasting
December 23rd, 2007 by eCliPs
Today i finally found how to stop vi to insert tab or comment my text when i paste something:
simply input the command
:set paste
then paste what you want to paste and
:set nopaste
Hoo and by the way, from now on, i will start posting only in english
Posted in linux
March 4th, 2008 at 0:14
Thanks for the tip. I was wondering how to do this for ages!
April 16th, 2008 at 15:32
sweet! finally got annoyed with this today, and… answered. Thanks!
July 16th, 2008 at 12:05
[...] (Quelle: blog.exeko.com) [...]
July 25th, 2008 at 11:31
yeah,
i was using :set !autoindent but your solution is far more better.