new nvim readme

This commit is contained in:
Buliway 2025-01-12 22:27:56 +03:00
parent 7612d675b2
commit 94beeb1081

View file

@ -77,17 +77,17 @@ ln -s ~/nixos-private-dots/nvim ~/.config/nvim
Бинды в таблице ниже нажимаются без пробела перед ними. Просто бинд Бинды в таблице ниже нажимаются без пробела перед ними. Просто бинд
| Bind | Description | File | | Bind | Description | File |
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------|----------------| |-----------|----------------------------------------------------------------------------------------------------------------------------------|----------------|
| `esc esc` | Exit terminal mode (This won't work in all terminal emulators/tmux/etc. Try your own mapping or use `<C-\><C-n>` to exit terminal mode) | settings.lua | | `esc esc` | Exit terminal mode (Or use `<C-\><C-n>` to exit terminal mode) | settings.lua |
| `esc` | Creal highlights on search when pressing Esc in normal mode | settings.lua | | `esc` | Creal highlights on search when pressing Esc in normal mode | settings.lua |
| `gp` | `G`oto context (`p`arent) | treesitter.lua | | `gp` | `G`oto context (`p`arent) | treesitter.lua |
| `gd` | `G`oto `D`efinition | lsp.lua | | `gd` | `G`oto `D`efinition | lsp.lua |
| `gr` | `G`oto `R`eferences | lsp.lua | | `gr` | `G`oto `R`eferences | lsp.lua |
| `gI` | `G`oto `I`mplementation | lsp.lua | | `gI` | `G`oto `I`mplementation | lsp.lua |
| `gD` | `G`oto `D`eclaration. This is not Goto Definition, this is Goto Declaration. For example, in C this would take you to the header | lsp.lua | | `gD` | `G`oto `D`eclaration. This is not Goto Definition, this is Goto Declaration. For example, in C this would take you to the header | lsp.lua |
| `gc` | Toggle Comment from mini-comment plugin | - | | `gc` | Toggle Comment from mini-comment plugin | - |
| `\` | Toggle file tree | file-tree.lua | | `\` | Toggle file tree | file-tree.lua |
Перед каждым из биндов в нижней таблице надо нажать `leader`, что есть `space`, пробел. Перед каждым из биндов в нижней таблице надо нажать `leader`, что есть `space`, пробел.