use folke/snacks.nvim

main
sudo pacman -Syu 2025-02-14 01:51:40 +07:00
parent 2f5b7442e2
commit 727963f19d
2 changed files with 4 additions and 8 deletions

View File

@ -215,13 +215,12 @@
<li>
<p>
With
<a href="https://github.com/ibhagwan/fzf-lua">ibhagwan/fzf-lua</a>:
<a href="https://github.com/folke/snacks.nvim">folke/snacks.nvim</a>:
</p>
<ul>
<li><code>&lt;Leader&gt;f</code>: find files</li>
<li><code>&lt;Leader&gt;l</code>: find lines</li>
<li><code>&lt;Leader&gt;rg</code>: grep files</li>
<li><code>&lt;Leader&gt;g</code>: git status</li>
<li>
With
<a href="https://github.com/neovim/nvim-lspconfig"
@ -234,8 +233,6 @@
<code>&lt;Space&gt;r</code>, <code>gr</code>: list references
</li>
<li><code>&lt;Space&gt;i</code>: list implementation</li>
<li><code>&lt;Space&gt;ca</code>: list code action</li>
<li><code>&lt;Space&gt;d</code>: list diagnostics</li>
</ul>
</li>
</ul>
@ -323,6 +320,7 @@
</p>
<ul>
<li><code>&lt;Space&gt;e</code>: current diagnostic</li>
<li><code>&lt;Space&gt;ca</code>: list code action</li>
<li><code>&lt;Space&gt;lr</code>: restart lsp server</li>
<li><code>gd</code>: go to definition</li>
<li><code>&lt;Space&gt;k</code>, <code>gk</code>: hover</li>

View File

@ -110,18 +110,15 @@ Ground rules:
- `<Leader>c`: `c` without yank
- `<Leader>x`: `x` without yank
- With [ibhagwan/fzf-lua](https://github.com/ibhagwan/fzf-lua):
- With [folke/snacks.nvim](https://github.com/folke/snacks.nvim):
- `<Leader>f`: find files
- `<Leader>l`: find lines
- `<Leader>rg`: grep files
- `<Leader>g`: git status
- With [neovim/nvim-lspconfig](https://github.com/neovim/nvim-lspconfig)
helps:
- `<Space>s`: list lsp symbols
- `<Space>r`, `gr`: list references
- `<Space>i`: list implementation
- `<Space>ca`: list code action
- `<Space>d`: list diagnostics
- With [saghen/blink.cmp](https://github.com/Saghen/blink.cmp):
- `<C-Space>`: trigger completion
- With [tpope/vim-projectionist](https://github.com/tpope/vim-projectionist)
@ -143,6 +140,7 @@ Ground rules:
- `<Space>f`: format code
- With [neovim/nvim-lspconfig](https://github.com/neovim/nvim-lspconfig):
- `<Space>e`: current diagnostic
- `<Space>ca`: list code action
- `<Space>lr`: restart lsp server
- `gd`: go to definition
- `<Space>k`, `gk`: hover