From 7d9f6f5e24c92ce182a9c9f1a82843f64404c42b Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Sat, 20 Apr 2013 13:28:53 -0700 Subject: [PATCH] easier window shift --- .vimrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 22fb184..880bf58 100644 --- a/.vimrc +++ b/.vimrc @@ -201,7 +201,7 @@ set statusline+=\ %P "percent through file " ** SMALL FUNCTIONS THAT DON'T FIT AS PLUGINS *** -" Add capital W so I can be lazy about my shift jey +" Add capital W so I can be lazy about my shift key if !exists(":W") command W :w endif @@ -376,6 +376,15 @@ xnoremap $ inoremap ^ inoremap $ +nnoremap j +nnoremap k +nnoremap l +nnoremap h +inoremap j +inoremap k +inoremap l +inoremap h + " Better fold mappings nnoremap @=(foldlevel('.')?'za':'l') vnoremap zf