diff --git a/.vimrc b/.vimrc index e49a388..63104cc 100644 --- a/.vimrc +++ b/.vimrc @@ -348,6 +348,16 @@ nnoremap ddkP nnoremap xp nnoremap xhP +" Move lines up/down/left/right using arrow keys +nnoremap ddp +nnoremap ddkP +nnoremap xp +nnoremap xhP + +" Compiles documents +nnoremap cc :w! \| !compiler % +nnoremap co :!opout % + " Activate spelling nnoremap :set spell!