|
@@ -186,35 +186,43 @@ let g:which_key_map.m = {
|
|
" \ 's' : [':Snippets' , 'snippets'],
|
|
" \ 's' : [':Snippets' , 'snippets'],
|
|
|
|
|
|
" TODO fix FZF preview or just move to Telescope
|
|
" TODO fix FZF preview or just move to Telescope
|
|
-" s is for search
|
|
|
|
|
|
+" s is for search powered by telescope
|
|
let g:which_key_map.s = {
|
|
let g:which_key_map.s = {
|
|
\ 'name' : '+search' ,
|
|
\ 'name' : '+search' ,
|
|
- \ '/' : [':History/' , 'history'],
|
|
|
|
- \ ';' : [':FzfPreviewCommandPalette' , 'commands'],
|
|
|
|
- \ 'a' : [':Ag' , 'text Ag'],
|
|
|
|
- \ 'b' : [':CocCommand fzf-preview.BufferLines' , 'current buffer'],
|
|
|
|
- \ 'B' : [':CocCommand fzf-preview.Buffers' , 'open buffers'],
|
|
|
|
- \ 'c' : [':Commits' , 'commits'],
|
|
|
|
- \ 'C' : [':BCommits' , 'buffer commits'],
|
|
|
|
- \ 'd' : [':CocCommand fzf-preview.DirectoryFiles' , 'directories'],
|
|
|
|
- \ 'f' : [':CocCommand fzf-preview.ProjectFiles' , 'files'],
|
|
|
|
- \ 'g' : [':CocCommand fzf-preview.GitFiles' , 'git files'],
|
|
|
|
- \ 'G' : [':GFiles?' , 'modified git files'],
|
|
|
|
- \ 'h' : [':History' , 'file history'],
|
|
|
|
- \ 'H' : [':History:' , 'command history'],
|
|
|
|
- \ 'l' : [':Lines' , 'lines'] ,
|
|
|
|
- \ 'm' : [':CocCommand fzf-preview.Marks', 'list marks'],
|
|
|
|
- \ 'M' : [':Maps' , 'normal maps'] ,
|
|
|
|
- \ 'p' : [':Helptags' , 'help tags'] ,
|
|
|
|
- \ 'P' : [':Tags' , 'project tags'],
|
|
|
|
- \ 'q' : [':CocCommand fzf-preview.QuickFix' , 'quickfix list'],
|
|
|
|
- \ 's' : [':CocList snippets' , 'snippets'],
|
|
|
|
- \ 'S' : [':Colors' , 'color schemes'],
|
|
|
|
- \ 't' : [':Rg' , 'text Rg'],
|
|
|
|
- \ 'T' : [':BTags' , 'buffer tags'],
|
|
|
|
- \ 'w' : [':Windows' , 'search windows'],
|
|
|
|
- \ 'y' : [':Filetypes' , 'file types'],
|
|
|
|
- \ 'z' : [':FZF' , 'FZF'],
|
|
|
|
|
|
+ \ '.' : [':Telescope filetypes' , 'filetypes'],
|
|
|
|
+ \ ';' : [':Telescope commands' , 'commands'],
|
|
|
|
+ \ 'a' : [':Telescope lsp_code_actions' , 'code_actions'],
|
|
|
|
+ \ 'A' : [':Telescope builtin' , 'all'],
|
|
|
|
+ \ 'b' : [':Telescope buffers' , 'buffers'],
|
|
|
|
+ \ 'B' : [':Telescope git_branches' , 'git_branches'],
|
|
|
|
+ \ 'd' : [':Telescope lsp_document_diagnostics' , 'document_diagnostics'],
|
|
|
|
+ \ 'D' : [':Telescope lsp_workspace_diagnostics' , 'workspace_diagnostics'],
|
|
|
|
+ \ 'c' : [':Telescope git_bcommits' , 'git_bcommits'],
|
|
|
|
+ \ 'C' : [':Telescope git_bcommits' , 'git_bcommits'],
|
|
|
|
+ \ 'f' : [':Telescope find_files' , 'files'],
|
|
|
|
+ \ 'F' : [':Telescope git_files' , 'git_files'],
|
|
|
|
+ \ 'g' : [':Telescope tags' , 'tags'],
|
|
|
|
+ \ 'G' : [':Telescope current_buffer_tags' , 'buffer_tags'],
|
|
|
|
+ \ 'h' : [':Telescope command_history' , 'history'],
|
|
|
|
+ \ 'H' : [':Telescope help_tags' , 'help_tags'],
|
|
|
|
+ \ 'k' : [':Telescope keymaps' , 'keymaps'],
|
|
|
|
+ \ 'l' : [':Telescope loclist' , 'loclist'],
|
|
|
|
+ \ 'm' : [':Telescope marks' , 'marks'],
|
|
|
|
+ \ 'o' : [':Telescope vim_options' , 'vim_options'],
|
|
|
|
+ \ 'O' : [':Telescope oldfiles' , 'oldfiles'],
|
|
|
|
+ \ 'M' : [':Telescope man_pages' , 'man_pages'],
|
|
|
|
+ \ 'p' : [':Telescope fd' , 'fd'],
|
|
|
|
+ \ 'P' : [':Telescope spell_suggest' , 'spell_suggest'],
|
|
|
|
+ \ 's' : [':Telescope git_status' , 'git_status'],
|
|
|
|
+ \ 'S' : [':Telescope grep_string' , 'grep_string'],
|
|
|
|
+ \ 't' : [':Telescope live_grep' , 'text'],
|
|
|
|
+ \ 'y' : [':Telescope symbols' , 'symbols'],
|
|
|
|
+ \ 'Y' : [':Telescope lsp_workspace_symbols' , 'lsp_workspace_symbols'],
|
|
|
|
+ \ 'r' : [':Telescope registers' , 'registers'],
|
|
|
|
+ \ 'R' : [':Telescope reloader' , 'reloader'],
|
|
|
|
+ \ 'w' : [':Telescope file_browser' , 'buf_fuz_find'],
|
|
|
|
+ \ 'u' : [':Telescope colorscheme' , 'colorschemes'],
|
|
|
|
+ \ 'z' : [':Telescope current_buffer_fuzzy_find' , 'buf_fuz_find'],
|
|
\ }
|
|
\ }
|
|
"
|
|
"
|
|
" :CocCommand fzf-preview.AllBuffers
|
|
" :CocCommand fzf-preview.AllBuffers
|