From 709181113d49339d698287d64bb9333ea3e74982 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 17 Jan 2023 16:47:48 +0100 Subject: [PATCH] docs: updated keymaps --- README.md | 57 +++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index ff516371..778a3ee3 100644 --- a/README.md +++ b/README.md @@ -502,7 +502,7 @@ possible keymaps starting with ``. | `gg` | Lazygit (cwd) | **n** | | `gG` | Lazygit (root dir) | **n** | | `qq` | Quit all | **n** | -| `sH` | Highlight Groups at cursor | **n** | +| `ui` | Inspect Pos | **n** | | `ft` | Terminal (root dir) | **n** | | `fT` | Terminal (cwd) | **n** | | `` | Enter Normal Mode | **t** | @@ -523,29 +523,28 @@ possible keymaps starting with ``.
LSP -| Key | Description | Mode | -| ------------ | --------------------- | ------------ | -| `cd` | Line Diagnostics | **n** | -| `cl` | Lsp Info | **n** | -| `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** | -| `` | 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** | -| `ca` | Code Action | **n**, **v** | -| `cf` | Format Document | **n** | -| `cf` | Format Range | **v** | -| `cr` | Rename | **n** | +| Key | Description | Mode | +| ------------ | -------------------- | ------------ | +| `cd` | Line Diagnostics | **n** | +| `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** | +| `` | 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** | +| `ca` | Code Action | **n**, **v** | +| `cf` | Format Document | **n** | +| `cf` | Format Range | **v** | +| `cr` | Rename | **n** |
@@ -576,7 +575,7 @@ possible keymaps starting with ``. | `un` | [nvim-notify](https://github.com/rcarriga/nvim-notify.git) Delete all Notifications | **n** | | `sr` | [nvim-spectre](https://github.com/windwp/nvim-spectre.git) Replace in files (Spectre) | **n** | | `` | [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter.git) Increment selection | **n** | -| `` | [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter.git) Schrink selection | **n** | +| `` | [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter.git) Schrink selection | **x** | | `qs` | [persistence.nvim](https://github.com/folke/persistence.nvim.git) Restore Session | **n** | | `ql` | [persistence.nvim](https://github.com/folke/persistence.nvim.git) Restore Last Session | **n** | | `qd` | [persistence.nvim](https://github.com/folke/persistence.nvim.git) Don't Save Current Session | **n** | @@ -594,6 +593,7 @@ possible keymaps starting with ``. | `sb` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Buffer | **n** | | `sc` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Command History | **n** | | `sC` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Commands | **n** | +| `sd` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Diagnostics | **n** | | `sg` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Grep (root dir) | **n** | | `sG` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Grep (cwd) | **n** | | `sh` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Help Pages | **n** | @@ -602,16 +602,15 @@ possible keymaps starting with ``. | `sM` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Man Pages | **n** | | `sm` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Jump to Mark | **n** | | `so` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Options | **n** | -| `st` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Telescope | **n** | | `sw` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Word (root dir) | **n** | | `sW` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Word (cwd) | **n** | | `uC` | [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim.git) Colorscheme with preview | **n** | | `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** | -| `xt` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo Trouble | **n** | -| `xtt` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo Trouble | **n** | -| `xT` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo Telescope | **n** | +| `xt` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo (Trouble) | **n** | +| `xT` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo/Fix/Fixme (Trouble) | **n** | +| `st` | [todo-comments.nvim](https://github.com/folke/todo-comments.nvim.git) Todo | **n** | | `xx` | [trouble.nvim](https://github.com/folke/trouble.nvim.git) Document Diagnostics (Trouble) | **n** | | `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** |