aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-10-20 16:01:27 -0600
committerCody Hiar <codyfh@gmail.com>2017-10-20 16:01:27 -0600
commit9d45016e567ff48148366f47ff993588779025c9 (patch)
tree478a56783d6d434d99293eca9a354b47c2222fc4
parentd7590b59067ac936f0005bb693a5329edb062025 (diff)
Adding nvim specific bindings to nvim section
-rw-r--r--plugin/vim-options.vim8
1 files 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 <leader>er :call RestoreSession()<CR>
nnoremap <leader>y :call system('nc -w 1 172.17.0.1 41401', @0)<CR>
+ tnoremap <A-h> <C-\><C-N><C-w>h
+ tnoremap <A-j> <C-\><C-N><C-w>j
+ tnoremap <A-k> <C-\><C-N><C-w>k
+ tnoremap <A-l> <C-\><C-N><C-w>l
else
let $EditorDir=$HOME.'/.vim/'
let $SessionDir='.'
@@ -193,10 +197,6 @@ nnoremap <leader>,pudb :-1read $EditorDir/plugged/vim-options/snippets/python/pu
nnoremap <leader>,pydef :-1read $EditorDir/plugged/vim-options/snippets/python/pydef.py<CR>/jump<CR>V12j
nnoremap <leader>,pyclass :-1read $EditorDir/plugged/vim-options/snippets/python/pyclass.py<CR>/jump<CR>
" Arrow keys move windows
-tnoremap <A-h> <C-\><C-N><C-w>h
-tnoremap <A-j> <C-\><C-N><C-w>j
-tnoremap <A-k> <C-\><C-N><C-w>k
-tnoremap <A-l> <C-\><C-N><C-w>l
inoremap <Up> <C-\><C-N><C-w>h
inoremap <Down> <C-\><C-N><C-w>j
inoremap <Up> <C-\><C-N><C-w>k