Re: OT: VIM perl indentaton

2004-08-27 Thread Gavin Henry
On Friday 27 Aug 2004 20:00, Damon Allen Davison wrote: > Dear Gavin, > > Gavin Henry wrote: > > Kind of a perl question, how do I get VIM to indent perl code? > > Have a look here: > > http://mamchenkov.net/blog/item/vim_for_perl_developers > > IIRC, it was originally posted in some form at http:

Re: OT: VIM perl indentaton

2004-08-27 Thread Damon Allen Davison
Dear Gavin, Gavin Henry wrote: > Kind of a perl question, how do I get VIM to indent perl code? Have a look here: http://mamchenkov.net/blog/item/vim_for_perl_developers IIRC, it was originally posted in some form at http://www.perlmonks.org, but it's the same author either way. Best, Damon -- Da

Re: OT: VIM perl indentaton

2004-08-27 Thread Gavin Henry
Craig Turner said: > (replying to digest) > >> > Gavin -- what happens if you just put >> > >> > set autoindent >> > >> > in your ~/.vimrc ? Does that not work ? >> >> No Doesnt work for me , I am using vim 6.2 on linux ( redhat AS 3 ). >> Any clue ? > > This may be a confusion over definition

Re: OT: VIM perl indentaton

2004-08-27 Thread Wiggins d Anconia
> > Fortunately, he specifically said "VIM", not Vi. > > > > Vim is a very nice improvement over traditional Vi that can do, among a > > great many other things, syntax highlighting and automatic indentation. > > > > Gavin -- what happens if you just put > > > > set autoindent > > > > in your

Re: OT: VIM perl indentaton

2004-08-27 Thread Chris Devers
On Fri, 27 Aug 2004, Gavin Henry wrote: Last question, Do you need to press any keys to indent? Well, "enter", I suppose. The behavior I see is that Vim will preserve the indentation level of the previous line of code, unless it detects a left brace (which denotes a new block of code and so is in

Re: OT: VIM perl indentaton

2004-08-27 Thread Craig Turner
(replying to digest) > > Gavin -- what happens if you just put > > > > set autoindent > > > > in your ~/.vimrc ? Does that not work ? > > No Doesnt work for me , I am using vim 6.2 on linux ( redhat AS 3 ). > Any clue ? This may be a confusion over definitions. Gavin, Ram, if you do the fol

Re: OT: VIM perl indentaton

2004-08-27 Thread Gavin Henry
Last question, Do you need to press any keys to indent? -- Just getting into the best language ever... Fancy a [EMAIL PROTECTED] Just ask!!! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OT: VIM perl indentaton

2004-08-27 Thread Chris Devers
On Fri, 27 Aug 2004, Ramprasad A Padmanabhan wrote: No Doesnt work for me , I am using vim 6.2 on linux ( redhat AS 3 ). Any clue ? My ~/.vimrc is available at . I wrote that file two or three years ago, and honestly don't remember what everything in there d

Re: OT: VIM perl indentaton

2004-08-27 Thread Gavin Henry
Chris Devers said: > On Fri, 27 Aug 2004, Gavin Henry wrote: > >> Ramprasad A Padmanabhan said: >>> >>> Anyway on a serious note , I dont think there is any auto indent >>> possible in vi. You will have to set tab value and hit tabs as many >>> times you want to indent. >> >> Oh well :-( > > This i

Re: OT: VIM perl indentaton

2004-08-27 Thread Ramprasad A Padmanabhan
On Fri, 2004-08-27 at 18:14, Chris Devers wrote: > On Fri, 27 Aug 2004, Ramprasad A Padmanabhan wrote: > > > On Fri, 2004-08-27 at 17:53, Gavin Henry wrote: > >> Hi all, > >> > >> Kind of a perl question, how do I get VIM to indent perl code? > > > > Use emacs :-) > > Har har har > > > Anyway on

Re: OT: VIM perl indentaton

2004-08-27 Thread Chris Devers
On Fri, 27 Aug 2004, Gavin Henry wrote: Ramprasad A Padmanabhan said: Anyway on a serious note , I dont think there is any auto indent possible in vi. You will have to set tab value and hit tabs as many times you want to indent. Oh well :-( This is incorrect. Straight Vi may not be able to indent

Re: OT: VIM perl indentaton

2004-08-27 Thread Gavin Henry
> Fortunately, he specifically said "VIM", not Vi. > > Vim is a very nice improvement over traditional Vi that can do, among a > great many other things, syntax highlighting and automatic indentation. > > Gavin -- what happens if you just put > > set autoindent > > in your ~/.vimrc ? Does that

Re: OT: VIM perl indentaton

2004-08-27 Thread Chris Devers
On Fri, 27 Aug 2004, Ramprasad A Padmanabhan wrote: On Fri, 2004-08-27 at 17:53, Gavin Henry wrote: Hi all, Kind of a perl question, how do I get VIM to indent perl code? Use emacs :-) Har har har Anyway on a serious note , I dont think there is any auto indent possible in vi. You will have to set

Re: OT: VIM perl indentaton

2004-08-27 Thread Gavin Henry
Ramprasad A Padmanabhan said: > On Fri, 2004-08-27 at 17:53, Gavin Henry wrote: >> Hi all, >> >> Kind of a perl question, how do I get VIM to indent perl code? >> >> >> -- >> Just getting into the best language ever... >> Fancy a [EMAIL PROTECTED] Just ask!!! > > Use emacs :-) > > Anyway on a serio

Re: OT: VIM perl indentaton

2004-08-27 Thread Ramprasad A Padmanabhan
On Fri, 2004-08-27 at 17:53, Gavin Henry wrote: > Hi all, > > Kind of a perl question, how do I get VIM to indent perl code? > > > -- > Just getting into the best language ever... > Fancy a [EMAIL PROTECTED] Just ask!!! Use emacs :-) Anyway on a serious note , I dont think there is any auto i

OT: VIM perl indentaton

2004-08-27 Thread Gavin Henry
Hi all, Kind of a perl question, how do I get VIM to indent perl code? -- Just getting into the best language ever... Fancy a [EMAIL PROTECTED] Just ask!!! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]