From 9d45016e567ff48148366f47ff993588779025c9 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 20 Oct 2017 16:01:27 -0600 Subject: Adding nvim specific bindings to nvim section --- plugin/vim-options.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 61b1a88..1bdf36d 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -115,6 +115,10 @@ if has('nvim') set completeopt=menu,preview,noinsert " default is menu,preview. Don't insert text until selection is made nnoremap er :call RestoreSession() nnoremap y :call system('nc -w 1 172.17.0.1 41401', @0) + tnoremap h + tnoremap j + tnoremap k + tnoremap l else let $EditorDir=$HOME.'/.vim/' let $SessionDir='.' @@ -193,10 +197,6 @@ nnoremap ,pudb :-1read $EditorDir/plugged/vim-options/snippets/python/pu nnoremap ,pydef :-1read $EditorDir/plugged/vim-options/snippets/python/pydef.py/jumpV12j nnoremap ,pyclass :-1read $EditorDir/plugged/vim-options/snippets/python/pyclass.py/jump " Arrow keys move windows -tnoremap h -tnoremap j -tnoremap k -tnoremap l inoremap h inoremap j inoremap k -- cgit v1.2.3