commit a99c5b28db4493a8366dc1aa0b885a0d68050b7f (patch)
parent 0a122238ed32c4c3b4de2f879b1c7b728ae0dfc4
Author: Alexander Karle <akarle@umass.edu>
Date: Sat, 21 Jul 2018 18:08:47 -0400
Vimrc tweaks (map arrow keys, markdown spellcheck)
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/vim/ftplugin/markdown.vim b/vim/ftplugin/markdown.vim
@@ -5,4 +5,4 @@ setlocal linebreak
setlocal breakindent
" spell check
-set spell
+setlocal spell
diff --git a/vim/vimrc b/vim/vimrc
@@ -248,4 +248,10 @@ nnoremap <leader>f :FZF<CR>
" 2 space / 4 space toggle
nnoremap <leader>2 :setlocal softtabstop=2 shiftwidth=2<CR>
nnoremap <leader>4 :setlocal softtabstop=4 shiftwidth=4<CR>
+
+" Faster file navigation
+nnoremap <LEFT> :cprev<CR>
+nnoremap <RIGHT> :cnext<CR>
+nnoremap <UP> :prev<CR>
+nnoremap <DOWN> :next<CR>
" }}}