Created
November 19, 2010 10:24
-
-
Save tarsisazevedo/706324 to your computer and use it in GitHub Desktop.
My vim configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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