vim configuration for python

haihui guo hguo at uci.edu
Wed May 25 20:04:03 EDT 2005


I think you can do

set tabstop=4

also, it's better to

set expandtab

so, the tab will be expanded as space.

HG
On Wed, 25 May 2005 16:36:04 -0700, Leonard J. Reder <reder at jpl.nasa.gov>  
wrote:

> Hello,
>
> I am looking at configuring vim for Python.  Most importantly I
> need 4 spaces when the tab is hit.  I am searching and getting
> a bit confused.  Does anyone know where I can find a set of
> ready made .vimrc and ~/.vim/syntax/python.vim.  If could find
> c.vim and cpp.vim these would be useful also.
>
> Thanks for any pointer.
> Len



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the Python-list mailing list