Igors Vim Tips

I used Vim for years, but have now transitioned to Neovim. While most of these tips work in both editors, some are Neovim-specific. Here’s my collection of tips I want to practice and remember.

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