Skip to content

Instantly share code, notes, and snippets.

@n9iels
Last active May 3, 2025 19:02
Show Gist options
  • Save n9iels/10e773fc082535c83d388998f8e1ebce to your computer and use it in GitHub Desktop.
Save n9iels/10e773fc082535c83d388998f8e1ebce to your computer and use it in GitHub Desktop.
VIM cheat sheet with the focus on common programming tasks

Common programming tasks

General

  • gg - start of file
  • G - end of file
  • ^ - start of line
  • $ - end of line
  • o - new line

Actions between characters

  • <operator>ib - between (...)
  • <operator>it - between tags like <p>...</p>
  • <operator>i<char> - between the given char like [...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment