Skip to content

Instantly share code, notes, and snippets.

@tarsisazevedo
Created November 19, 2010 10:24
Show Gist options
  • Save tarsisazevedo/706324 to your computer and use it in GitHub Desktop.
Save tarsisazevedo/706324 to your computer and use it in GitHub Desktop.
My vim configuration file
set nu
set wildmode=longest,list
set termencoding=utf8
set expandtab
retab
syntax on
map ( ()<esc>i
inoremap ( ()<esc>i
inoremap { {}<esc>i
inoremap [ []<esc>i
inoremap " ""<esc>i
inoremap ' ''<esc>i
inoremap < <><esc>i
autocmd BufRead *.html set tabstop=2
autocmd BufRead *.html set shiftwidth=2
autocmd BufRead *.html set softtabstop=2
autocmd BufRead *.css set tabstop=2
autocmd BufRead *.css set shiftwidth=2
autocmd BufRead *.css set softtabstop=2
autocmd BufRead *.py set tabstop=4
autocmd BufRead *.py set shiftwidth=4
autocmd BufRead *.py set softtabstop=4
filetype on
filetype plugin on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment