1. Eugene Yunak
  2. dotfiles

Source

dotfiles / .vimrc

syntax on
filetype on
filetype plugin indent on
set number
set tabstop=4
set shiftwidth=4
set smarttab
set expandtab
set softtabstop=4
set autoindent
set hlsearch
set modeline
set background=dark
set foldmethod=indent
set foldlevel=99

autocmd FileType python set omnifunc=pythoncomplete#Complete
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
let g:SuperTabDefaultCompletionType = "context"
autocmd FileType python set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class,with