diff --git a/nix/progs/nvim/config.vim b/nix/progs/nvim/config.vim index 6aa1fd0..3122c04 100644 --- a/nix/progs/nvim/config.vim +++ b/nix/progs/nvim/config.vim @@ -66,6 +66,12 @@ set smartcase " Case insensitive if no uppercase letter in pattern, case sen " Spell check for markdown files au BufNewFile,BufRead *.md set spell +" Enable fast navigation between windows +nnoremap h +nnoremap l +nnoremap j +nnoremap k + " Disable arrow keys and page up / down noremap noremap @@ -104,3 +110,9 @@ inoremap " Incremental substitutin set inccommand=split +" Misc +nnoremap sv :source $MYVIMRC + +cabbrev bsp belowright split +cabbrev rvsp belowright vsplit +