diff --git a/README.md b/README.md index 24482a72..9d00cfee 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ let g:lsc_auto_map = { \ 'GoToDefinition': '', \ 'FindReferences': 'gr', \ 'FindCodeActions': 'ga', - \ 'DocumentSymbol': 'gs', + \ 'DocumentSymbol': 'go', \ 'ShowHover': 'K', \ 'Completion': 'completefunc', \} @@ -118,7 +118,7 @@ using the default mappings) to populate the quickfix list with usage locations. ### Document Symbols -In any enabled buffer call `LSClientDocumentSymbol` (`gs` if using the default +In any enabled buffer call `LSClientDocumentSymbol` (`go` if using the default mappings) to populate the quickfix list with the locations of all symbols in that document. diff --git a/autoload/lsc/config.vim b/autoload/lsc/config.vim index 28faa054..b7a33003 100644 --- a/autoload/lsc/config.vim +++ b/autoload/lsc/config.vim @@ -4,7 +4,7 @@ let s:default_maps = { \ 'FindCodeActions': 'ga', \ 'Rename': 'gR', \ 'ShowHover': 'K', - \ 'DocumentSymbol': 'gs', + \ 'DocumentSymbol': 'go', \ 'Completion': 'completefunc', \} diff --git a/doc/lsc.txt b/doc/lsc.txt index 0c25de2e..a7277627 100644 --- a/doc/lsc.txt +++ b/doc/lsc.txt @@ -63,7 +63,7 @@ request with the location set to the cursor's position. With *:LSClientDocumentSymbol* Populate the |quickfix| with a list of the symbols defined in the current buffer. Sends a "textDocument/documentSymbol" request. With |lsc-default-map| -this command is bound to "gs". +this command is bound to "go". *:LSClientShowHover* Open a |preview| window with hover information corresponding to the element @@ -197,7 +197,7 @@ The default mapping for keys, if you've opted in to "g:lsc_auto_map" are: |:LSClientGoToDefinition| gr |:LSClientFindReferences| -gs |:LSClientDocumentSymbol| +go |:LSClientDocumentSymbol| ga |:LSClientFindCodeActions| gR |:LSClientRename| K |:LSClientShowHover|