Skip to content

Latest commit

 

History

History
39 lines (38 loc) · 1.72 KB

cheatsheet.md

File metadata and controls

39 lines (38 loc) · 1.72 KB

Cheatsheet

  • <leader>D show prev error in file
  • <leader>d show next error in file
  • <leader>e show error details
  • J move selection in visual mode down
  • K move selection in visual mode up
  • <leader>o create new line beneath without leavin normal mode
  • <leader>O create new line above without leavin normal mode
  • <leader>p paste content and keep paste buffer
  • <leader>sf search files by name
  • <leader>sg search string with grep in project
  • <leader>sr reopen last search
  • <leader>sd show list of errors in project
  • <leader><leader> show list of buffers
  • <leader>/ search in open file
  • <leader>sN search in neovim config
  • <leader>sn search in notes
  • gd go to definition
  • gr list or go to references
  • gI go to implementation
  • <leader>rn rename symbol
  • <leader>ca execute code action
  • K show documentation for word under cursor
  • <leader>f format buffer
  • <C-n> next suggestion
  • <C-p> previous suggestion
  • <C-b> scroll back suggestion
  • <C-f> scroll forward suggestion
  • <C-y> apply suggestion
  • :TimerStart 10m start 10 minute timer
  • :E show file explorer
  • <leader>g open neogit
  • <leader>sm search harpoon marks
  • <leader>a add harpoon mark for current file
  • <C-e> show list of harpoon marks
  • <leader>1 open harpoon mark 1 etc.
  • <leader>tt toggle markdown checkbox
  • :FormatToggle Toggle format on save