@@ -337,7 +337,6 @@ require('lazy').setup({
337337 -- Document existing key chains
338338 spec = {
339339 { ' <leader>s' , group = ' [S]earch' },
340- { ' <leader>w' , group = ' [W]orkspace' },
341340 { ' <leader>t' , group = ' [T]oggle' },
342341 { ' <leader>h' , group = ' Git [H]unk' , mode = { ' n' , ' v' } },
343342 },
@@ -535,7 +534,7 @@ require('lazy').setup({
535534
536535 -- Execute a code action, usually your cursor needs to be on top of an error
537536 -- or a suggestion from your LSP for this to activate.
538- map (' gra' , vim .lsp .buf .code_action , ' Code [A]ction' , { ' n' , ' x' })
537+ map (' gra' , vim .lsp .buf .code_action , ' [G]oto Code [A]ction' , { ' n' , ' x' })
539538
540539 -- Find references for the word under your cursor.
541540 map (' grr' , require (' telescope.builtin' ).lsp_references , ' [G]oto [R]eferences' )
@@ -544,27 +543,27 @@ require('lazy').setup({
544543 -- Useful when your language has ways of declaring types without an actual implementation.
545544 map (' gri' , require (' telescope.builtin' ).lsp_implementations , ' [G]oto [I]mplementation' )
546545
547- -- Fuzzy find all the symbols in your current document.
548- -- Symbols are things like variables, functions, types, etc.
549- map (' gO' , require (' telescope.builtin' ).lsp_document_symbols , ' [O]pen Document Symbols' )
550-
551546 -- Jump to the definition of the word under your cursor.
552547 -- This is where a variable was first declared, or where a function is defined, etc.
553548 -- To jump back, press <C-t>.
554- map (' gd ' , require (' telescope.builtin' ).lsp_definitions , ' [G]oto [D]efinition' )
549+ map (' grd ' , require (' telescope.builtin' ).lsp_definitions , ' [G]oto [D]efinition' )
555550
556- -- Jump to the type of the word under your cursor.
557- -- Useful when you're not sure what type a variable is and you want to see
558- -- the definition of its *type*, not where it was *defined*.
559- map (' <leader>D' , require (' telescope.builtin' ).lsp_type_definitions , ' Type [D]efinition' )
551+ -- WARN: This is not Goto Definition, this is Goto Declaration.
552+ -- For example, in C this would take you to the header.
553+ map (' grD' , vim .lsp .buf .declaration , ' [G]oto [D]eclaration' )
554+
555+ -- Fuzzy find all the symbols in your current document.
556+ -- Symbols are things like variables, functions, types, etc.
557+ map (' gO' , require (' telescope.builtin' ).lsp_document_symbols , ' Open Document Symbols' )
560558
561559 -- Fuzzy find all the symbols in your current workspace.
562560 -- Similar to document symbols, except searches over your entire project.
563- map (' <leader>ws ' , require (' telescope.builtin' ).lsp_dynamic_workspace_symbols , ' [W]orkspace [S]ymbols ' )
561+ map (' gW ' , require (' telescope.builtin' ).lsp_dynamic_workspace_symbols , ' Open Workspace Symbols ' )
564562
565- -- WARN: This is not Goto Definition, this is Goto Declaration.
566- -- For example, in C this would take you to the header.
567- map (' gD' , vim .lsp .buf .declaration , ' [G]oto [D]eclaration' )
563+ -- Jump to the type of the word under your cursor.
564+ -- Useful when you're not sure what type a variable is and you want to see
565+ -- the definition of its *type*, not where it was *defined*.
566+ map (' grt' , require (' telescope.builtin' ).lsp_type_definitions , ' [G]oto [T]ype Definition' )
568567
569568 -- This function resolves a difference between neovim nightly (version 0.11) and stable (version 0.10)
570569 --- @param client vim.lsp.Client
0 commit comments