diff --git a/.vimrc b/.vimrc index 1e4f956..3d76524 100644 --- a/.vimrc +++ b/.vimrc @@ -275,7 +275,7 @@ function! NewLatex() endfunction " Mappings {{{1 -" Move lines up/down using arrow keys +" Move lines up/down/left/right using arrow keys nnoremap ddp nnoremap ddkP nnoremap xp @@ -319,6 +319,9 @@ nnoremap sv :source $MYVIMRC nnoremap o nnoremap O +" Make jj in insert mode go to normal mode +inoremap jj + " Set double space in insert mode to go to next mark and enter insert mode "inoremap :call NextMark()