Igors Vim Tips

I use nvim lots, but constantly forget what I want to practice. Here’s a list to remind me.

Code Changes

  • rn - Rename
  • yaf (yank a function) - Via TreeSitter+TreeSitter Motions
  • \xX -> Open Diagnostics - Via Trouble
  • ai auo import
  • code action
  • gd - go to definition - Via LSP
  • gt - go to type
  • \cc - Comment or uncomment

Git integration

  • NeoGit (Gosh I can’t figure this out)
  • DiffViewOpen
  • Telescope git_status
  • Telescope git_files

Nice Telescope - Telescope git_status