Skip to content

Instantly share code, notes, and snippets.

@ahndmal
Created May 5, 2022 16:29
Show Gist options
  • Save ahndmal/fd143062ee694662605957b5d2b58a7d to your computer and use it in GitHub Desktop.
Save ahndmal/fd143062ee694662605957b5d2b58a7d to your computer and use it in GitHub Desktop.
# Add this file to your .vim folder and make it read only
Hotkeys:
SPACE - h - k : Show hotkeys
SPACE - g - d : Go to definition
SPACE - g - r : Go to reference
SPACE - t : Toggle nerdtree
SPACE - SPACE - p : Format Prettier
SPACE - SPACE - g : Format GoFmt
SPACE - SPACE - b : Format Black
SPACE - SPACE - u : Toggle UndoTree
SPACE - SPACE - f : Find Files (FZF & RIPGREP)
SPACE - SPACE - SPACE - g : Toggle Go MetaLinter
Control - p : Git files (git ls-files)
SPACE - SPACE - c : Comment or Uncomment line
SPACE - Tab : Go to next buffer in list
SPACE - Tab - Tab : Go to prev buffer in list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment