summary refs log tree commit diff
path: root/.config/nvim
diff options
context:
space:
mode:
authorJune McEnroe <curtis@hopper.com>2017-06-09 11:11:51 -0400
committerJune McEnroe <curtis@hopper.com>2017-06-09 11:11:51 -0400
commit31cc05d8c1bc054c0607e7c6621418fe1133cf14 (patch)
tree7ef16dc11fa2358e6300a3af890ac9f51497c78e /.config/nvim
parentAdd iTerm light profile and disable hotkey (diff)
downloadsrc-31cc05d8c1bc054c0607e7c6621418fe1133cf14.tar.gz
src-31cc05d8c1bc054c0607e7c6621418fe1133cf14.zip
Remap keys in vim for Tarmak 1 more sensibly
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.vim24
1 files changed, 8 insertions, 16 deletions
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 <C-w>n <C-w>j
 nmap <C-w>e <C-w>k