diff options
-rw-r--r-- | keys/which-key.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keys/which-key.vim b/keys/which-key.vim index 06b66fda..200a0984 100644 --- a/keys/which-key.vim +++ b/keys/which-key.vim @@ -36,9 +36,9 @@ let g:which_key_map[';'] = [ ':Commands' , 'commands' ] let g:which_key_map['='] = [ '<C-W>=' , 'balance windows' ] let g:which_key_map['d'] = [ ':Bdelete' , 'delete buffer'] let g:which_key_map['e'] = [ ':CocCommand explorer' , 'explorer' ] -" let g:which_key_map['f'] = [ ':Farr' , 'find and replace' ] let g:which_key_map['h'] = [ '<C-W>s' , 'split below'] let g:which_key_map['m'] = [ ':call WindowSwap#EasyWindowSwap()' , 'move window' ] +let g:which_key_map['n'] = [ ':let @/ = ""' , 'no highlight' ] let g:which_key_map['p'] = [ ':Files' , 'search files' ] let g:which_key_map['q'] = [ 'q' , 'quit' ] let g:which_key_map['r'] = [ ':RnvimrToggle' , 'ranger' ] @@ -210,22 +210,22 @@ let g:which_key_map.l = { \ 'l' : ['<Plug>(coc-codelens-action)' , 'code lens'], \ 'n' : ['<Plug>(coc-diagnostic-next)' , 'next diagnostic'], \ 'N' : ['<Plug>(coc-diagnostic-next-error)' , 'next error'], - \ 'o' : ['<Plug>(coc-openlink)' , 'open link'], + \ 'o' : [':Vista!!' , 'outline'], \ 'O' : [':CocList outline' , 'outline'], \ 'p' : ['<Plug>(coc-diagnostic-prev)' , 'prev diagnostic'], \ 'P' : ['<Plug>(coc-diagnostic-prev-error)' , 'prev error'], \ 'q' : ['<Plug>(coc-fix-current)' , 'quickfix'], - \ 'r' : ['<Plug>(coc-rename)' , 'rename'], - \ 'R' : ['<Plug>(coc-references)' , 'references'], + \ 'r' : ['<Plug>(coc-references)' , 'references'], + \ 'R' : ['<Plug>(coc-rename)' , 'rename'], \ 's' : [':CocList -I symbols' , 'references'], \ 'S' : [':CocList snippets' , 'snippets'], \ 't' : ['<Plug>(coc-type-definition)' , 'type definition'], \ 'u' : [':CocListResume' , 'resume list'], \ 'U' : [':CocUpdate' , 'update CoC'], - \ 'v' : [':Vista!!' , 'tag viewer'], \ 'z' : [':CocDisable' , 'disable CoC'], \ 'Z' : [':CocEnable' , 'enable CoC'], \ } + " \ 'o' : ['<Plug>(coc-openlink)' , 'open link'], " t is for terminal let g:which_key_map.t = { |