From: Samir Benmendil Date: Wed, 5 Nov 2014 11:14:02 +0000 (+0000) Subject: vim: gk and gj movement X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/f821f723f48521851d5e4c5546b8a4dabd3de1de vim: gk and gj movement --- diff --git a/vim/vimrc b/vim/vimrc index ec0ece1..576e984 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