Re: pasting into vi inserts many indents
* Laszlo Szathmary (Laszlo.Szathmary@loria.fr) wrote:
> :set pastetoggle=<F9>
>
> instead of F9 you can use another key too. In this case if you want to
> insert a selected text, change with F9 to paste mode, paste the text,
> then with F9 change back to normal insert mode. At the bottom vi gives
> you info in which mode you are. (you can press F9 in insert mode too)
sweet!
thank you for this gem of wisdom.
iain
--
"If sharing a thing in no way diminishes it, it is not
rightly owned if it is not shared." -- St. Augustine
#rm -rf /
http://www.geeksoc.org/
Reply to: