From 87c7087d1ba0ff2deee4015214ec118acf6d5ff7 Mon Sep 17 00:00:00 2001 From: masterzu Date: Thu, 3 Nov 2016 10:46:22 +0100 Subject: [PATCH] vim: add mapping and jj and kk to --- .vimrc_vundle | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.vimrc_vundle b/.vimrc_vundle index 054ba8b..003d1a4 100755 --- a/.vimrc_vundle +++ b/.vimrc_vundle @@ -216,9 +216,27 @@ augroup END " nnoremap :NumbersToggle """ keymaps +" no arrows keys no more nmap nmap nmap nmap +imap +imap +imap +imap +" vmap +" vmap +" vmap +" vmap +nmap K +nmap J + +" Esc remap +imap jj +imap kk +" map caps-lock with Xvindow +au VimEnter * !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape' +au VimLeave * !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Caps_Lock'