diff options
author | Jordan <me@jordan.im> | 2023-01-29 09:39:44 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2023-01-29 09:39:44 -0700 |
commit | bd39597a7c882103e41141107d5e6f4a7ab2d662 (patch) | |
tree | 13cbd6bba67235cf300d905d1b8455428f28dcb3 /.vimrc | |
parent | f3b8f4423ab8bd38220adaaa2683a2709a1fe1d8 (diff) | |
download | dotfiles-bd39597a7c882103e41141107d5e6f4a7ab2d662.tar.gz dotfiles-bd39597a7c882103e41141107d5e6f4a7ab2d662.zip |
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' |