[Tutor] OT: Vim was: free IDE for Python?
Mike.Hansen at atmel.com
Mon Nov 20 17:47:31 CET 2006
> -----Original Message-----
> From: tutor-bounces+mike.hansen=atmel.com at python.org
> [mailto:tutor-bounces+mike.hansen=atmel.com at python.org] On
> Behalf Of Chris Lasher
> Sent: Saturday, November 18, 2006 8:01 AM
> To: Python Tutor
> Subject: Re: [Tutor] OT: Vim was: free IDE for Python?
> On 11/17/06, Mike Hansen <Mike.Hansen at atmel.com> wrote:
> > Here's what I'm doing. Not sure if it's that helpful to you.
> > I use the mini-buffer explorer plug-in and the taglist plugin.
> > set smartindent
> > " shuts off the annoying "#" comment in smartindent to jump to col 1
> > inoremap # X<c-h>#
> > autocmd BufRead *.py set smartindent
> > cinwords=if,elif,else,for,while,try,except,finally,def,class
> Instead of using smartindent + cinwords + the inoremap hack, simply
> use "filetype indent on". This was recommended to me on #Vim IRC
> channel. This takes care of the silly # problem with smartindent and
> is considered the best way for getting proper indentation in Python.
> Give it a try!
Doh! I'll spend my life learning all the little things in VIM.
-------------- next part --------------
NOTICE: This e-mail transmission and any documents or files attached to
it contain information for the sole use of the above-identified individual or entity.
Its contents may be privileged, confidential, and exempt from disclosure under the law.
Any dissemination, distribution, or copying of this communication is strictly prohibited.
Please notify the sender immediately if you are not the intended recipient.
More information about the Tutor