Re: Stopping vim from auto-indenting

2001-05-09 Thread Dwayne C. Litzenberger
> :set paste > > then paste your text, then > > :set nopaste Hmm.. That's pretty neat. I always used :r!cat to paste stuff. -- Dwayne C. Litzenberger - [EMAIL PROTECTED] pgprMoSmopuP6.pgp Description: PGP signature

Re: Stopping vim from auto-indenting

2001-05-07 Thread Joey Hess
Andre Berger wrote: > set nopaste > set pastetoggle= > > I only toggle to paste mode if necessary. I think I found this one in > Sven Guckes's vim tips. The problem I've always had with this is that I can press f11 to enter paste mode even if I'm already in insert mode. Handy. But I can only pr

Re: Stopping vim from auto-indenting

2001-05-06 Thread Andre Berger
* Karsten M. Self , 2001-05-06 01:57 +0200: > on Sat, May 05, 2001 at 08:27:19AM -0400, MaD dUCK ([EMAIL PROTECTED]) wrote: > > also sprach mdevin (on Sat, 05 May 2001 09:20:15PM +1000): > > > How do you stop this from happening? > > > > actually, set noautoindent won't cut it if you have smartind

Re: Stopping vim from auto-indenting

2001-05-05 Thread MaD dUCK
also sprach Karsten M. Self (on Sat, 05 May 2001 11:01:11AM -0700): > Cool! That I did not know. > ...now, what's a useful key to bind that to map ^V :set paste!^M but that's because i don't need that visual stuff anyway. martin; (greetings from the heart of the sun.) \ e

Re: Stopping vim from auto-indenting

2001-05-05 Thread Karsten M. Self
on Sat, May 05, 2001 at 08:27:19AM -0400, MaD dUCK ([EMAIL PROTECTED]) wrote: > also sprach mdevin (on Sat, 05 May 2001 09:20:15PM +1000): > > How do you stop this from happening? > > actually, set noautoindent won't cut it if you have smartindent or > cindent set. however, vim has a feature: > >

Re: Stopping vim from auto-indenting

2001-05-05 Thread MaD dUCK
also sprach mdevin (on Sat, 05 May 2001 09:20:15PM +1000): > How do you stop this from happening? actually, set noautoindent won't cut it if you have smartindent or cindent set. however, vim has a feature: :set paste then paste your text, then :set nopaste martin; (greetings from

Re: Stopping vim from auto-indenting

2001-05-05 Thread patrick q
--- mdevin <[EMAIL PROTECTED]> wrote: > When I use vim to edit a file, then copy and paste some text into > this > file, the text gets automatically indented more than it should. Take > the following example: > Edit an empty file with vim, then try an paste in the following text: > !## NETSCAPE >

Re: Stopping vim from auto-indenting

2001-05-05 Thread Romain Lerallut
On Sat, 5 May 2001, mdevin wrote: > When I use vim to edit a file, then copy and paste some text into this > file, the text gets automatically indented more than it should. :set noai (ai=auto-indent) should work HTH, Romain

Re: Stopping vim from auto-indenting

2001-05-05 Thread Michael P. Soulier
On Sat, May 05, 2001 at 09:20:15PM +1000, mdevin wrote: > When I use vim to edit a file, then copy and paste some text into this > file, the text gets automatically indented more than it should. Take This is not Vim specific. This will happen in any Vi where you have autoindent turned on.

Re: Stopping vim from auto-indenting

2001-05-05 Thread Eric G. Miller
On Sat, May 05, 2001 at 09:20:15PM +1000, mdevin wrote: > When I use vim to edit a file, then copy and paste some text into this > file, the text gets automatically indented more than it should. Take > the following example: [snip] :set noautoindent -- Eric G. Miller