diff --git a/modules/terminal-life/nvim/init.vim b/modules/terminal-life/nvim/init.vim index 6bf8c2f..267349e 100644 --- a/modules/terminal-life/nvim/init.vim +++ b/modules/terminal-life/nvim/init.vim @@ -45,15 +45,19 @@ nnoremap K L nnoremap I H nnoremap H I -map i :wincmd k -map j :wincmd h -map k :wincmd j -map l :wincmd l +map wi :wincmd k +map wj :wincmd h +map wk :wincmd j +map wl :wincmd l -map I :wincmd K -map J :wincmd H -map K :wincmd J -map L :wincmd L +map wI :wincmd K +map wJ :wincmd H +map wK :wincmd J +map wL :wincmd L + +map tj :tabprevious +map tl :tabnext +map tq :tabclose " replay macro for each line of a visual selection xnoremap @q :normal @q diff --git a/modules/terminal-life/nvim/plugins.vim b/modules/terminal-life/nvim/plugins.vim index 85891b1..4d1b3d2 100644 --- a/modules/terminal-life/nvim/plugins.vim +++ b/modules/terminal-life/nvim/plugins.vim @@ -80,7 +80,7 @@ let g:user_emmet_leader_key='' " Ack if executable('ag') - let g:ackprg = 'ag --vimgrep' + let g:ackprg = 'ag --hidden --vimgrep' endif " nnn