Created
January 8, 2010 20:20
-
-
Save rcmachado/272372 to your computer and use it in GitHub Desktop.
Vim configuration (.vimrc)
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
" My .vimrc (use with https://github.com/akitaonrails/vimfiles) | |
" | |
" Date: 2011-06-22 | |
source ~/.vim/vimrc | |
colorscheme default | |
set background=dark | |
set list | |
set listchars=tab:▸\ ,eol:¬ | |
highlight NonText guifg=#4a4a59 | |
highlight SpecialKey guifg=#4a4a59 | |
" Autofix some mistakes | |
cab W w | |
cab Wq wq | |
cab wQ wq | |
cab WQ wq | |
cab Q q | |
" Highlight p/ linhas > 80 | |
" http://vim.wikia.com/wiki/Highlight_long_lines | |
" Vim >= 7.1.40 | |
au BufWinEnter * let w:m1=matchadd('Search', '\%<81v.\%>77v', -1) | |
au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment