summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2023-01-29 09:39:44 -0700
committerJordan <me@jordan.im>2023-01-29 09:39:44 -0700
commitbd39597a7c882103e41141107d5e6f4a7ab2d662 (patch)
tree13cbd6bba67235cf300d905d1b8455428f28dcb3 /.vimrc
parentf3b8f4423ab8bd38220adaaa2683a2709a1fe1d8 (diff)
downloaddotfiles-master.tar.gz
dotfiles-master.zip
vim plugins, i3, zshrcHEADmaster
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index a31c2ab..ba3c73c 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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'