mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-03 17:45:05 +02:00
docs: updated keymaps
This commit is contained in:
parent
ba0040230e
commit
709181113d
1 changed files with 28 additions and 29 deletions
57
README.md
57
README.md
|
@ -502,7 +502,7 @@ possible keymaps starting with `<space>`.
|
|||
| `<leader>gg` | Lazygit (cwd) | **n** |
|
||||
| `<leader>gG` | Lazygit (root dir) | **n** |
|
||||
| `<leader>qq` | Quit all | **n** |
|
||||
| `<leader>sH` | Highlight Groups at cursor | **n** |
|
||||
| `<leader>ui` | Inspect Pos | **n** |
|
||||
| `<leader>ft` | Terminal (root dir) | **n** |
|
||||
| `<leader>fT` | Terminal (cwd) | **n** |
|
||||
| `<esc><esc>` | Enter Normal Mode | **t** |
|
||||
|
@ -523,29 +523,28 @@ possible keymaps starting with `<space>`.
|
|||
|
||||
<details><summary>LSP</summary>
|
||||
|
||||
| Key | Description | Mode |
|
||||
| ------------ | --------------------- | ------------ |
|
||||
| `<leader>cd` | Line Diagnostics | **n** |
|
||||
| `<leader>cl` | Lsp Info | **n** |
|
||||
| `<leader>xd` | Telescope Diagnostics | **n** |
|
||||
| `gd` | Goto Definition | **n** |
|
||||
| `gr` | References | **n** |
|
||||
| `gD` | Goto Declaration | **n** |
|
||||
| `gI` | Goto Implementation | **n** |
|
||||
| `gt` | Goto Type Definition | **n** |
|
||||
| `K` | Hover | **n** |
|
||||
| `gK` | Signature Help | **n** |
|
||||
| `<c-k>` | Signature Help | **i** |
|
||||
| `]d` | Next Diagnostic | **n** |
|
||||
| `[d` | Prev Diagnostic | **n** |
|
||||
| `]e` | Next Error | **n** |
|
||||
| `[e` | Prev Error | **n** |
|
||||
| `]w` | Next Warning | **n** |
|
||||
| `[w` | Prev Warning | **n** |
|
||||
| `<leader>ca` | Code Action | **n**, **v** |
|
||||
| `<leader>cf` | Format Document | **n** |
|
||||
| `<leader>cf` | Format Range | **v** |
|
||||
| `<leader>cr` | Rename | **n** |
|
||||
| Key | Description | Mode |
|
||||
| ------------ | -------------------- | ------------ |
|
||||
| `<leader>cd` | Line Diagnostics | **n** |
|
||||
| `<leader>cl` | Lsp Info | **n** |
|
||||
| `gd` | Goto Definition | **n** |
|
||||
| `gr` | References | **n** |
|
||||
| `gD` | Goto Declaration | **n** |
|
||||
| `gI` | Goto Implementation | **n** |
|
||||
| `gt` | Goto Type Definition | **n** |
|
||||
| `K` | Hover | **n** |
|
||||
| `gK` | Signature Help | **n** |
|
||||
| `<c-k>` | Signature Help | **i** |
|
||||
| `]d` | Next Diagnostic | **n** |
|
||||
| `[d` | Prev Diagnostic | **n** |
|
||||
| `]e` | Next Error | **n** |
|
||||
| `[e` | Prev Error | **n** |
|
||||
| `]w` | Next Warning | **n** |
|
||||
| `[w` | Prev Warning | **n** |
|
||||
| `<leader>ca` | Code Action | **n**, **v** |
|
||||
| `<leader>cf` | Format Document | **n** |
|
||||
| `<leader>cf` | Format Range | **v** |
|
||||
| `<leader>cr` | Rename | **n** |
|
||||
|
||||
</details>
|
||||
|
||||
|
@ -576,7 +575,7 @@ possible keymaps starting with `<space>`.
|
|||
| `<leader>un` | [nvim-notify](https://github.com/rcarriga/nvim-notify.git) Delete all Notifications | **n** |
|
||||
| `<leader>sr` | [nvim-spectre](https://github.com/windwp/nvim-spectre.git) Replace in files (Spectre) | **n** |
|
||||
| `<c-space>` | [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter.git) Increment selection | **n** |
|
||||
| `<c-bs>` | [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter.git) Schrink selection | **n** |
|
||||
| `<bs>` | [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter.git) Schrink selection | **x** |
|
||||
| `<leader>qs` | [persistence.nvim](https://github.com/folke/persistence.nvim.git) Restore Session | **n** |
|
||||
| `<leader>ql` | [persistence.nvim](https://github.com/folke/persistence.nvim.git) Restore Last Session | **n** |
|
||||
| `<leader>qd` | [persistence.nvim](https://github.com/folke/persistence.nvim.git) Don't Save Current Session | **n** |
|
||||
|
@ -594,6 +593,7 @@ possible keymaps starting with `<space>`.
|
|||
| `<leader>sb` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Buffer | **n** |
|
||||
| `<leader>sc` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Command History | **n** |
|
||||
| `<leader>sC` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Commands | **n** |
|
||||
| `<leader>sd` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Diagnostics | **n** |
|
||||
| `<leader>sg` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Grep (root dir) | **n** |
|
||||
| `<leader>sG` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Grep (cwd) | **n** |
|
||||
| `<leader>sh` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Help Pages | **n** |
|
||||
|
@ -602,16 +602,15 @@ possible keymaps starting with `<space>`.
|
|||
| `<leader>sM` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Man Pages | **n** |
|
||||
| `<leader>sm` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Jump to Mark | **n** |
|
||||
| `<leader>so` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Options | **n** |
|
||||
| `<leader>st` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Telescope | **n** |
|
||||
| `<leader>sw` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Word (root dir) | **n** |
|
||||
| `<leader>sW` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Word (cwd) | **n** |
|
||||
| `<leader>uC` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Colorscheme with preview | **n** |
|
||||
| `<leader>ss` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Goto Symbol | **n** |
|
||||
| `]t` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Next todo comment | **n** |
|
||||
| `[t` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Previous todo comment | **n** |
|
||||
| `<leader>xt` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo Trouble | **n** |
|
||||
| `<leader>xtt` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo Trouble | **n** |
|
||||
| `<leader>xT` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo Telescope | **n** |
|
||||
| `<leader>xt` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo (Trouble) | **n** |
|
||||
| `<leader>xT` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo/Fix/Fixme (Trouble) | **n** |
|
||||
| `<leader>st` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo | **n** |
|
||||
| `<leader>xx` | [trouble.nvim](https://github.com/folke/trouble.nvim.git) Document Diagnostics (Trouble) | **n** |
|
||||
| `<leader>xX` | [trouble.nvim](https://github.com/folke/trouble.nvim.git) Workspace Diagnostics (Trouble) | **n** |
|
||||
| `]]` | [vim-illuminate](https://github.com/RRethy/vim-illuminate.git) Next Reference | **n** |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue