Vim's copy and paste (Re: [Techtalk] mgp2html revamp)
Jacinta Richardson
jarich at perltraining.com.au
Mon Feb 17 17:28:13 EST 2003
On Mon, 17 Feb 2003, Mary wrote:
> On Sun, Feb 16, 2003, Emma Jane Hogbin wrote:
> > (ignore the fact that vi doesn't like copying and pasting from other
> > documents...just look at the HTML formatting)
>
> try:
>
> :set nopaste
>
> It turns off vim's autoindent function. It also turns off word wrap, so
> you might want to
>
> :set paste
I think that these are backwards. Do :set paste befor cut'n'pasting into
vi/vim and do :set nopaste afterwards if you need it. If you use gvim it
auto-detects quite well, unfortunately not all of us have X access to the
machines we need to edit files on. :(
Jacinta
--
("`-''-/").___..--''"`-._ | Jacinta Richardson |
`6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia |
(_Y_.)' ._ ) `._ `. ``-..-' | +613 9354 6001 |
_..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au |
(il),-'' (li),' ((!.-' | www.perltraining.com.au |
More information about the Techtalk
mailing list