mirror of
https://github.com/neovim/neovim.git
synced 2026-01-03 18:06:29 +10:00
docs: lsp, vim_diff #35820
This commit is contained in:
@@ -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()|
|
||||
|
||||
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user