36 lines
655 B
Markdown
36 lines
655 B
Markdown
# Keybinds
|
|
|
|
## Lsp
|
|
|
|
- grr : go to reference
|
|
- gri : go to impl
|
|
- grd : goto defn
|
|
- gO : open symbolds
|
|
- gW : open worksapce symbolds
|
|
- grt : goto type defn
|
|
|
|
## Tabs
|
|
|
|
There are :hsplit, :vsplit commands, also :tabnew
|
|
|
|
Do leader-sf, C-t for new tab, C-v for vertical split, C-x for horizontal
|
|
These keybinds come from telescope defaults. The tab functionality is built into
|
|
neovim.
|
|
|
|
Tab cycling: gt, gT
|
|
|
|
## Autocompletes
|
|
|
|
within insert mode, it's supported via blink
|
|
C-y to accept
|
|
C-space to open completions menu
|
|
C-n/p to move up and down
|
|
C-k to open "documentation"
|
|
|
|
## Fugutive workflow
|
|
|
|
:G
|
|
use - to stage
|
|
use cc to commit
|
|
write a message and then :wq
|