X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/07c18bcc6f31633225fa25e824b8e12608951434..516f716351cec888c353c961e2934d61d2814891:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index ec0ece1..d4e8e48 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -311,6 +311,10 @@ inoremap A cnoremap cnoremap +" proper movement when lines are wrapped +noremap j gj +noremap k gk + " disable arrows noremap noremap @@ -399,7 +403,7 @@ autocmd BufReadPost fugitive://* set bufhidden=delete nnoremap gs :Gstatus nnoremap gd :Gdiff nnoremap gc :tab Gcommit -v -nnoremap gw :Gwrite +nnoremap ga :Gwrite " NERDTree {{{2 " open/close NERDTree with \e