call which_key#register('\', "g:which_key_map") let g:which_key_map = {} nnoremap c "_c nnoremap :call nerdcommenter#Comment(0,"toggle") nnoremap : nnoremap :bprevious nnoremap :bnext nnoremap h nnoremap j nnoremap k nnoremap l nnoremap o nnoremap q nnoremap :WhichKey '\' nnoremap b :Buffers nnoremap d :bd nnoremap e :Files nnoremap ga :Ag nnoremap gg :Grep nnoremap gr :Rg nnoremap G :FloatermNew lazygit nnoremap h :Startify nnoremap k :w:bp:bd # nnoremap p :CocList -A --normal yank nnoremap v :FloatermNew vifm nnoremap w :w nnoremap x :w:bp:bd # let g:which_key_map.b = 'buffers' let g:which_key_map.c = { 'name': '+nerd-commenter' } let g:which_key_map.d = 'close-buffer' let g:which_key_map.e = 'files' let g:which_key_map.g = { 'name': '+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' let g:which_key_map.p = 'coc-paste' let g:which_key_map.q = { 'name': '+coc-fix-current' } let g:which_key_map.r = { 'name': '+coc-rename' } 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 AirlineSelectTab1 nmap AirlineSelectTab2 nmap AirlineSelectTab3 nmap AirlineSelectTab4 nmap AirlineSelectTab5 nmap AirlineSelectTab6 nmap AirlineSelectTab7 nmap AirlineSelectTab8 nmap AirlineSelectTab9 nmap AirlineSelectTab10 inoremap pumvisible() ? "" : "" inoremap pumvisible() ? "" : "" inoremap pumvisible() ? asyncomplete#close_popup() : "\" let g:floaterm_keymap_toggle = '' let g:floaterm_keymap_prev = '' let g:floaterm_keymap_next = ''