Editing Python with Vim

This is my vimrc. It's tailored for editing Python and uses a two space indent.

syntax on
set expandtab
set tabstop=2
set softtabstop=2
set shiftwidth=2
set smarttab
set autoindent
set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
set backspace=2
set wm=2

No comments:

Post a Comment