diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-21 18:21:51 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-21 18:21:51 +0200 |
commit | 9e5d1fd7daabc999c3eab3739ba2f8e72f440410 (patch) | |
tree | 869ce9318f24852babe232b135539f2be6eec317 /.config/nvim/bindings.vim | |
parent | Added floaterm good stuff for vim (diff) | |
download | dotfiles-bsd-9e5d1fd7daabc999c3eab3739ba2f8e72f440410.tar.gz dotfiles-bsd-9e5d1fd7daabc999c3eab3739ba2f8e72f440410.tar.bz2 dotfiles-bsd-9e5d1fd7daabc999c3eab3739ba2f8e72f440410.tar.xz dotfiles-bsd-9e5d1fd7daabc999c3eab3739ba2f8e72f440410.tar.zst dotfiles-bsd-9e5d1fd7daabc999c3eab3739ba2f8e72f440410.zip |
Few keymap changes
Diffstat (limited to '.config/nvim/bindings.vim')
-rw-r--r-- | .config/nvim/bindings.vim | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/.config/nvim/bindings.vim b/.config/nvim/bindings.vim index 1957419..6ee8a9c 100644 --- a/.config/nvim/bindings.vim +++ b/.config/nvim/bindings.vim @@ -17,25 +17,29 @@ nnoremap <C-x>2 :sp<CR> nnoremap <C-x>3 :vsp<CR> nnoremap <C-x>0 <C-w>q nnoremap <silent> <leader> :WhichKey '\'<CR> -nnoremap <silent> <leader>g :FloatermNew lazygit<CR> -let g:which_key_map.g = 'lazygit' +nnoremap <silent> <leader>b :Buffers<CR> nnoremap <silent> <leader>d :FloatermNew vifm<CR> -let g:which_key_map.d = 'vifm' -nnoremap <silent> <leader>v :FloatermNew vifm<CR> -let g:which_key_map.v = 'vifm' nnoremap <silent> <leader>e :Files<CR> -let g:which_key_map.e = 'fzf-files' -nnoremap <silent> <leader>b :Buffers<CR> -let g:which_key_map.b = 'fzf-buffers' +nnoremap <silent> <leader>f :Rg<CR> +nnoremap <silent> <leader>F :Ag<CR> +nnoremap <silent> <leader>g :FloatermNew lazygit<CR> nnoremap <silent> <leader>h :Startify<CR> -let g:which_key_map.h = 'startify' -nnoremap <silent> <leader>p :<C-u>CocList -A --normal yank<CR> -let g:which_key_map.p = 'coc-paste' -nnoremap <leader>s :w<CR> -let g:which_key_map.s = 'write-buffer' nnoremap <leader>k :w<CR>:bp<CR>:bd #<CR> -let g:which_key_map.k = 'write-and-close-buffer' +nnoremap <silent> <leader>p :<C-u>CocList -A --normal yank<CR> +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.e = 'files' +let g:which_key_map.f = 'grep' +let g:which_key_map.F = 'the_silver_searcher' +let g:which_key_map.g = 'lazygit' +let g:which_key_map.h = 'startify' +let g:which_key_map.k = 'write-and-close-buffer' +let g:which_key_map.p = 'coc-paste' +let g:which_key_map.v = 'vifm' +let g:which_key_map.w = 'write-buffer' let g:which_key_map.x = 'write-and-close-buffer' nmap <M-1> <Plug>AirlineSelectTab1 nmap <M-2> <Plug>AirlineSelectTab2 |