diff --git a/init.lua b/init.lua index d7b68a0d..c6b7222e 100644 --- a/init.lua +++ b/init.lua @@ -301,11 +301,13 @@ require('lazy').setup({ -- Document existing key chains require('which-key').register { + ['q'] = { { "confirm q", "Quit" }, }, + ['w'] = { { "w!", "Write" }, }, ['c'] = { name = '[C]ode', _ = 'which_key_ignore' }, ['d'] = { name = '[D]ocument', _ = 'which_key_ignore' }, ['r'] = { name = '[R]ename', _ = 'which_key_ignore' }, ['s'] = { name = '[S]earch', _ = 'which_key_ignore' }, - ['w'] = { name = '[W]orkspace', _ = 'which_key_ignore' }, + ['i'] = { name = '[I]nformation', _ = 'which_key_ignore' }, ['t'] = { name = '[T]oggle', _ = 'which_key_ignore' }, ['h'] = { name = 'Git [H]unk', _ = 'which_key_ignore' }, } @@ -509,7 +511,7 @@ require('lazy').setup({ -- Fuzzy find all the symbols in your current workspace. -- Similar to document symbols, except searches over your entire project. - map('ws', require('telescope.builtin').lsp_dynamic_workspace_symbols, '[W]orkspace [S]ymbols') + map('is', require('telescope.builtin').lsp_dynamic_workspace_symbols, '[I]nformation [S]ymbols') -- Rename the variable under your cursor. -- Most Language Servers support renaming across files, etc.