commit 5148c1247e4dffbe59bebb89084a285bb9f50677
parent a57c7238f9c34065706b8012b883ce0342559372
Author: skewb1k <skewb1kunix@gmail.com>
Date: Wed, 17 Sep 2025 22:29:34 +0300
docs: lsp, vim_diff #35820
Diffstat:
2 files changed, 15 insertions(+), 18 deletions(-)
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
@@ -74,12 +74,12 @@ the options are empty or were set by the builtin runtime (ftplugin) files. The
options are not restored when the LSP client is stopped or detached.
GLOBAL DEFAULTS
- *grr* *gra* *grn* *gri* *grt* *i_CTRL-S* *an* *in*
+ *gra* *gri* *grn* *grr* *grt* *i_CTRL-S* *v_an* *v_in*
These GLOBAL keymaps are created unconditionally when Nvim starts:
-- "grn" is mapped in Normal mode to |vim.lsp.buf.rename()|
- "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()|
+- "grn" is mapped in Normal mode to |vim.lsp.buf.rename()|
+- "grr" is mapped in Normal mode to |vim.lsp.buf.references()|
- "grt" is mapped in Normal mode to |vim.lsp.buf.type_definition()|
- "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()|
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
@@ -150,27 +150,24 @@ you never want any default mappings, call |:mapclear| early in your config.
- * |v_star-default|
- gc |gc-default| |v_gc-default| |o_gc-default|
- gcc |gcc-default|
-- gr prefix |gr-default|
- - |grn|
- - |grr|
- - |gra|
- - |gri|
- - |grt|
- - |gO|
-- <C-S> |i_CTRL-S|
+- |gO|
- ]d |]d-default|
- [d |[d-default|
- [D |[D-default|
- ]D |]D-default|
- <C-W>d |CTRL-W_d-default|
-- |[q|, |]q|, |[Q|, |]Q|, |[CTRL-Q|, |]CTRL-Q|
-- |[l|, |]l|, |[L|, |]L|, |[CTRL-L|, |]CTRL-L|
-- |[t|, |]t|, |[T|, |]T|, |[CTRL-T|, |]CTRL-T|
-- |[a|, |]a|, |[A|, |]A|
-- |[b|, |]b|, |[B|, |]B|
-- |[<Space>|, |]<Space>|
-- Nvim LSP client defaults |lsp-defaults|
+- |[q| |]q| |[Q| |]Q| |[CTRL-Q| |]CTRL-Q|
+- |[l| |]l| |[L| |]L| |[CTRL-L| |]CTRL-L|
+- |[t| |]t| |[T| |]T| |[CTRL-T| |]CTRL-T|
+- |[a| |]a| |[A| |]A|
+- |[b| |]b| |[B| |]B|
+- |[<Space>| |]<Space>|
+- LSP defaults |lsp-defaults|
- K |K-lsp-default|
+ - |v_an| |v_in|
+ - gr prefix |gr-default|
+ - |gra| |gri| |grn| |grr| |grt|
+ - <C-S> |i_CTRL-S|
DEFAULT AUTOCOMMANDS
*default-autocmds*