feat: nvim 0.10.0 comment

main
sudo pacman -Syu 2024-05-21 23:48:25 +07:00
parent 6c2858d8fb
commit da6c034e7e
2 changed files with 7 additions and 12 deletions

View File

@ -195,6 +195,8 @@
<li>
<p>Native neovim:</p>
<ul>
<li><code>gcc</code>: comment/uncomment current line</li>
<li><code>gc</code>: comment/uncomment selected lines</li>
<li><code>gx</code>: open file/url under cursor</li>
<li><code>Q</code>, <code>@</code>: execute last macro</li>
<li><code>]d</code>, <code>[d</code>: next/previous diagnostic</li>
@ -241,7 +243,8 @@
</li>
<li>
<p>
With <a href="https://github.com/ms-jpq/coq_nvim">ms-jpq/coq_nvim</a>:
With
<a href="https://github.com/hrsh7th/nvim-cmp">hrsh7th/nvim-cmp</a>:
</p>
<ul>
<li><code>&lt;C-Space&gt;</code>: trigger completion</li>
@ -296,13 +299,6 @@
>
</p>
<ul>
<li>
With mini-comment
<ul>
<li><code>gcc</code>: comment/uncomment current line</li>
<li><code>gc</code>: comment/uncomment selected lines</li>
</ul>
</li>
<li>
With mini-surround
<ul>

View File

@ -99,6 +99,8 @@ Ground rules:
- `<Space>` prefix: prefer lsp keymap, for coding of course :D
- Native neovim:
- `gcc`: comment/uncomment current line
- `gc`: comment/uncomment selected lines
- `gx`: open file/url under cursor
- `Q`, `@`: execute last macro
- `]d`, `[d`: next/previous diagnostic
@ -118,7 +120,7 @@ Ground rules:
- `<Space>r`, `gr`: list references
- `<Space>i`, `gi`: list implementation
- `<Space>ca`: list code action
- With [ms-jpq/coq_nvim](https://github.com/ms-jpq/coq_nvim):
- With [hrsh7th/nvim-cmp](https://github.com/hrsh7th/nvim-cmp):
- `<C-Space>`: trigger completion
- With [nvim-tree/nvim-tree.lua](https://github.com/nvim-tree/nvim-tree.lua),
inside nvim-tree:
@ -136,9 +138,6 @@ Ground rules:
- With [tpope/vim-projectionist](https://github.com/tpope/vim-projectionist)
- `:A`: open alternate file
- With [echasnovski/mini.nvim](https://github.com/echasnovski/mini.nvim)
- With mini-comment
- `gcc`: comment/uncomment current line
- `gc`: comment/uncomment selected lines
- With mini-surround
- `sa`: add surround
- `sd`: delete surround