Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.05 KB

added-keybindings.md

File metadata and controls

58 lines (42 loc) · 1.05 KB

Keybindings

LSP

  • gD go to declaration
  • gd go to definition
  • K hover definition
  • gri implementation
  • <C-k> signature help (normal mode)
  • <C-s> signature help (insert mode)
  • <space>wa add workspace folder
  • <space>wr remove workspace folder
  • <space>wl list workspace folders
  • <space>D type definition
  • grn rename
  • gra code action
  • grr references
  • <space>f auto format (prioritize the conform plugin and fall back to lsp)

CMP

  • <C-b> Scroll docs down
  • <C-f> Scroll docs up
  • <C-space> complete
  • <C-e> abort
  • <Tab> confirm

Luasnip

  • <C-l> Jump forward
  • <C-j> Jump backward

Global

  • <leader>df Open diagnostics window

Resize windows

  • <C-Up> Up
  • <C-Down> Down
  • <C-Left> Left
  • <C-Right> Right

Telescope

  • <leader>ff find files
  • <leader>fg live grep
  • <leader>fb buffers
  • <leader>fh help tags

Undotree

  • <leader>u toggle undotree

Rooter

  • <leader>cdc set open file buffer location as cwd
  • <leader>cdr set root of repo or fallback metaroot as cwd