[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pasting into vim from Win2k via SSH



On Fri, Sep 14, 2001 at 03:59:24PM -0700, Vineet Kumar wrote:
> 
> 
> 
> * Patrick (patrick@enterprise-hr.com) [010913 06:54]:
> > Hi all,
> > 
> > I have a Debian box that acts as a file and mail server along with a
> > Win2k laptop belonging to my employer. (I work from home).
> > 
> > Currently I'm trying to edit a .forward file by adding a score based
> > filter.  Its too long to typoe manually but I can't paste it in without
> > the test going all over the place.
> > 
> > My .vimrc reads:
> > 
> > set esckeys
> > set tw=72
> > set ff=unix
> > 
> > Is there something I need to add to enable me to paste test in?
> 
> set noai
> 
> try
> 
> :help ai
> 
> for more info.
> 
> -- 
> Vineet                                   http://www.anti-dmca.org
> Unauthorized use of this .sig may constitute violation of US law.
> echo Qba\'g gernq ba zr\!             |tr 'a-zA-Z' 'n-za-mN-ZA-M'

Personally, I'd suggest using

:set paste

which stops it from doing anything clever and just lets you paste, then when
you want to go back to the normal mode do a 

:set nopaste

Hope that's what you're after.

-- 
Brett Parker



Reply to: