Something more about vimrc (python)

" Kelvin's handy VIM config file
"

" Use spaces instead of tabs
set tabstop=4
set shiftwidth=4

" Use shiftwidth setting when at beginning of file
set smarttab

" When I press TAB actually insert spaces
set expandtab

" Fix backspace to delete the spaces youre using
set softtabstop=4

" Autoindenting makes life easier for Python programmers
set autoindent

" Some syntax coloring
syntax on

" Set line numbering so you know where you are
set number
set ruler

" Add another tab to the next line after the colon
im : :

thank for kevin (http://www.kelvinwong.ca/2008/09/11/my-vim-config-file-for-python/)

Comments

Popular posts from this blog

Difference between apt-get update and apt-get dis-upgrade