On 02-May-08, at 11:46 AM, Biju Chacko wrote:

If you are a vim user you can add:

set expandtabs

to your .vimrc to ensure that vim indents with only spaces.

I'd recommend being more elaborate:

set et    " Expand tabs
set ai    " Auto-indent
set sw=4  " Indent to 4 spaces
set ts=8  " Treat tabs as 8 columns
set si    " Smart indent
set sta   " Smart tab key handling
syn on    " Make syntax visible

" Make tabs visible if you're running gvim
if has("gui_running")
    set lcs=tab:»·,trail:·,extends:»,precedes:«
endif
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to