aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorNikita Revenco <154856872+nikitarevenco@users.noreply.github.com>2024-10-28 13:29:29 +0000
committerGitHub <noreply@github.com>2024-10-28 06:29:29 -0700
commit0b7cc014fc0ed8d0765e8504ff4a8ff7a84dac42 (patch)
treeced1df2017e632b4dd98e68bafad51c5471f77fe /runtime/doc
parent0086ee90dd2f058f48bbaceef842bb0d8923cc34 (diff)
downloadrneovim-0b7cc014fc0ed8d0765e8504ff4a8ff7a84dac42.tar.gz
rneovim-0b7cc014fc0ed8d0765e8504ff4a8ff7a84dac42.tar.bz2
rneovim-0b7cc014fc0ed8d0765e8504ff4a8ff7a84dac42.zip
feat(defaults): map gO to LSP document_symbol #30781
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt1
-rw-r--r--runtime/doc/news.txt1
-rw-r--r--runtime/doc/vim_diff.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index ab59c66912..fdec63bb0b 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -77,6 +77,7 @@ Some keymaps are created unconditionally when Nvim starts:
- "gra" is mapped in Normal and Visual mode to |vim.lsp.buf.code_action()|
- "grr" is mapped in Normal mode to |vim.lsp.buf.references()|
- "gri" is mapped in Normal mode to |vim.lsp.buf.implementation()|
+- "gO" is mapped in Normal mode to |vim.lsp.buf.document_symbol()|
- CTRL-S is mapped in Insert mode to |vim.lsp.buf.signature_help()|
If not wanted, these keymaps can be removed at any time using
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index a4d82eba39..d35ca2f0bc 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -160,6 +160,7 @@ DEFAULTS
• |grn| in Normal mode maps to |vim.lsp.buf.rename()|
• |grr| in Normal mode maps to |vim.lsp.buf.references()|
• |gri| in Normal mode maps to |vim.lsp.buf.implementation()|
+ • |gO| in Normal mode maps to |vim.lsp.buf.document_symbol()|
• |gra| in Normal and Visual mode maps to |vim.lsp.buf.code_action()|
• CTRL-S in Insert mode maps to |vim.lsp.buf.signature_help()|
• Mouse |popup-menu| includes an "Open in web browser" item when you right-click
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index d20f1a511d..10816ec358 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -151,6 +151,7 @@ of these in your config by simply removing the mapping, e.g. ":unmap Y".
- |grr|
- |gra|
- |gri|
+ - |gO|
- <C-S> |i_CTRL-S|
- ]d |]d-default|
- [d |[d-default|