From 59e76ff0184ce5af7643bf61ac04d4e6ba3c088e Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 9 Jun 2017 11:11:51 -0400 Subject: Remap keys in vim for Tarmak 1 more sensibly --- .config/nvim/init.vim | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 8abd26c4..0e2683a3 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -21,22 +21,14 @@ autocmd BufNewFile,BufRead *.asm,*.mac setfiletype nasm autocmd FileType sh,zsh,ruby setlocal shiftwidth=2 " Tarmak 1 -nnoremap n j -nnoremap j n -nnoremap e k -nnoremap k e -nnoremap N J -nnoremap J N -nnoremap E K -nnoremap K E -vnoremap n j -vnoremap j n -vnoremap e k -vnoremap k e -vnoremap N J -vnoremap J N -vnoremap E K -vnoremap K E +noremap n j +noremap e k +noremap k n +noremap j e +noremap N J +noremap E K +noremap K N +noremap J E nmap n j nmap e k -- cgit 1.4.1