feat: update nvim keymap
parent
aa47206b72
commit
e3894d95f6
|
@ -293,11 +293,12 @@ vim.<span class="pl-smi">keymap</span>.<span class="pl-c1">set</span>(<span clas
|
|||
>
|
||||
</p>
|
||||
<ul>
|
||||
<li><code><Space>gd</code>: go to definition</li>
|
||||
<li><code><Space>d</code>: go to definition</li>
|
||||
<li><code><Space>k</code>: hover</li>
|
||||
<li><code><F2></code>: rename</li>
|
||||
<li><code><Space>ca</code>: code action</li>
|
||||
<li><code><Space>gr</code>: go to references</li>
|
||||
<li><code><Space>r</code>: go to references</li>
|
||||
<li><code><Space>i</code>: go to implementation</li>
|
||||
<li><code><Space>f</code>: format</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
|
@ -120,11 +120,12 @@ vim.keymap.set("n", "q", ":q<CR>")
|
|||
- `vif`, `vaf`: select inner/outer function
|
||||
- `vic`, `vac`: select inner/outer class
|
||||
- With [neovim/nvim-lspconfig](https://github.com/neovim/nvim-lspconfig)
|
||||
- `<Space>gd`: go to definition
|
||||
- `<Space>d`: go to definition
|
||||
- `<Space>k`: hover
|
||||
- `<F2>`: rename
|
||||
- `<Space>ca`: code action
|
||||
- `<Space>gr`: go to references
|
||||
- `<Space>r`: go to references
|
||||
- `<Space>i`: go to implementation
|
||||
- `<Space>f`: format
|
||||
|
||||
## References / Thanks
|
||||
|
|
Loading…
Reference in New Issue