From a1632fb91b393dd2cc7be50f2ac40300cf3bf129 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Mon, 19 May 2014 08:23:55 -0400 Subject: [PATCH] Added gk and gj commands to visual and normal modes. --- vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 1f9ae8f..81f33e0 100644 --- a/vimrc +++ b/vimrc @@ -54,10 +54,14 @@ nnoremap U nnoremap K ik$ nnoremap :w "nnoremap s c +vnoremap gj j +vnoremap gk k vnoremap j gj vnoremap k gk vnoremap H ^ vnoremap L $ +nnoremap gj j +nnoremap gk k nnoremap j gj nnoremap k gk nnoremap H ^ @@ -215,4 +219,4 @@ else endif nnoremap Y y$ nnoremap W :%s/\s\+$//:let @/='' -nnoremap H *:AckFromSearch! +nnoremap H *:AckFromSearch! \ No newline at end of file