public

Log of every command, that I learn on my (bei)vim journey.

General

  • :Ex - Switch to explorer
  • <number>G - e.g. 36G jumps to line 36
  • ctrl-O - jump back
  • ctrl-I - jump forward

LazyVim

  • :Lazy - View the LazyVim menu. Exit from it via x

Telescope

  • \ff - find Filets
  • \fg - grep (rg)
  • \fb - buffers
  • \fh - help tags

Gitsigns (LazyVim Plugin)

Those are all custom keymaps

  • \gd - to show git diff split-screen
  • \gq - to exit git diff and return to normal view
  • \gh - enter git hunk search mode (uncommitted changes)
    • n - for next uncommitted change
    • N - for previous uncommitted change
    • Esc - to exit hunk search mode
  • \gr - refresh gitsigns and reload buffer