nvim: update tab and window keybindings, ag in hidden folders
This commit is contained in:
parent
79f38313c6
commit
d6cd678e92
|
@ -45,15 +45,19 @@ nnoremap K L
|
|||
nnoremap I H
|
||||
nnoremap H I
|
||||
|
||||
map <c-w>i :wincmd k<CR>
|
||||
map <c-w>j :wincmd h<CR>
|
||||
map <c-w>k :wincmd j<CR>
|
||||
map <c-w>l :wincmd l<CR>
|
||||
map <leader>wi :wincmd k<CR>
|
||||
map <leader>wj :wincmd h<CR>
|
||||
map <leader>wk :wincmd j<CR>
|
||||
map <leader>wl :wincmd l<CR>
|
||||
|
||||
map <c-w>I :wincmd K<CR>
|
||||
map <c-w>J :wincmd H<CR>
|
||||
map <c-w>K :wincmd J<CR>
|
||||
map <c-w>L :wincmd L<CR>
|
||||
map <leader>wI :wincmd K<CR>
|
||||
map <leader>wJ :wincmd H<CR>
|
||||
map <leader>wK :wincmd J<CR>
|
||||
map <leader>wL :wincmd L<CR>
|
||||
|
||||
map <leader>tj :tabprevious<CR>
|
||||
map <leader>tl :tabnext<CR>
|
||||
map <leader>tq :tabclose<CR>
|
||||
|
||||
" replay macro for each line of a visual selection
|
||||
xnoremap @q :normal @q<CR>
|
||||
|
|
|
@ -80,7 +80,7 @@ let g:user_emmet_leader_key='<c-n>'
|
|||
|
||||
" Ack
|
||||
if executable('ag')
|
||||
let g:ackprg = 'ag --vimgrep'
|
||||
let g:ackprg = 'ag --hidden --vimgrep'
|
||||
endif
|
||||
|
||||
" nnn
|
||||
|
|
Loading…
Reference in a new issue