diff options
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/bindings.vim | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/.config/nvim/bindings.vim b/.config/nvim/bindings.vim index e6779e0..4d19ad6 100644 --- a/.config/nvim/bindings.vim +++ b/.config/nvim/bindings.vim @@ -17,10 +17,11 @@ nnoremap <C-x>3 :vsp<CR> nnoremap <C-x>0 <C-w>q nnoremap <silent> <leader> :WhichKey '\'<CR> nnoremap <silent> <leader>b :Buffers<CR> -nnoremap <silent> <leader>d :FloatermNew vifm<CR> +nnoremap <leader>d :w<CR>:bp<CR>:bd #<CR> nnoremap <silent> <leader>e :Files<CR> -nnoremap <silent> <leader>F :Rg<CR> -nnoremap <silent> <leader>g :Ag<CR> +nnoremap <silent> <leader>ga :Ag<CR> +nnoremap <leader>gg :Grep<Space> +nnoremap <silent> <leader>gr :Rg<CR> nnoremap <silent> <leader>G :FloatermNew lazygit<CR> nnoremap <silent> <leader>h :Startify<CR> nnoremap <leader>k :w<CR>:bp<CR>:bd #<CR> @@ -29,10 +30,13 @@ nnoremap <silent> <leader>v :FloatermNew vifm<CR> nnoremap <leader>w :w<CR> nnoremap <leader>x :w<CR>:bp<CR>:bd #<CR> let g:which_key_map.b = 'buffers' -let g:which_key_map.d = 'vifm' +let g:which_key_map.c = '+nerd-commenter' +let g:which_key_map.d = 'write-and-close-buffer' let g:which_key_map.e = 'files' -let g:which_key_map.F = 'ripgrep' -let g:which_key_map.g = 'the_silver_searcher' +let g:which_key_map.g = '+grep' +let g:which_key_map.g.a = 'the_silver_searcher' +let g:which_key_map.g.g = 'grep' +let g:which_key_map.g.r = 'ripgrep' let g:which_key_map.G = 'lazygit' let g:which_key_map.h = 'startify' let g:which_key_map.k = 'write-and-close-buffer' |