summaryrefslogtreecommitdiff
path: root/keys
diff options
context:
space:
mode:
authorChris <[email protected]>2021-03-08 03:08:33 -0500
committerChris <[email protected]>2021-03-08 03:08:33 -0500
commit368f4042502071d087d49a8ad52059b0cc7cd16b (patch)
tree16f3c510c15ba3c69bfb5529d2631a48d9c1e4e8 /keys
parentc110240e3b95f3f157dd521eb87663cc5cbf2742 (diff)
full telescope integration, make sure to udpate neovim or selection won't work
Diffstat (limited to 'keys')
-rw-r--r--keys/which-key.vim62
1 files changed, 35 insertions, 27 deletions
diff --git a/keys/which-key.vim b/keys/which-key.vim
index 76fa40f4..fc7c2036 100644
--- a/keys/which-key.vim
+++ b/keys/which-key.vim
@@ -186,35 +186,43 @@ let g:which_key_map.m = {
" \ 's' : [':Snippets' , 'snippets'],
" 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 = {
\ '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