diff options
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -26,14 +26,19 @@ autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/ autocmd InsertLeave * match ExtraWhitespace /\s\+$/ autocmd BufWinLeave * call clearmatches() autocmd FileType go setlocal noet ts=4 sw=4 tw=80 -autocmd FileType markdown setlocal tw=80 et ts=2 sw=2 +autocmd FileType markdown setlocal spell tw=80 et ts=2 sw=2 autocmd FileType python setlocal et ts=4 sw=4 autocmd FileType text setlocal tw=80 autocmd FileType html setlocal et ts=2 sw=2 autocmd FileType c setlocal noet ts=8 sw=8 tw=80 autocmd FileType h setlocal noet ts=8 sw=8 tw=80 autocmd FileType cpp setlocal noet ts=8 sw=8 tw=80 +autocmd FileType gitcommit setlocal spell "tags map <C-\> :tab split<CR>:exec("tag ".expand("<cword>"))<CR> map <A-]> :vsp <CR>:exec("tag ".expand("<cword>"))<CR> +set tags=./.tags,tags; + +let g:ctrlp_map = '<c-p>' +let g:ctrlp_cmd = 'CtrlP' |