VIM cheat sheet - RayGutt/PersonalWiki GitHub Wiki

VIM Cheat Sheet

Commands

  • a is for append, but A appends at the end of the current line.
  • I inserts at the beginning of the current line.

Useful options

:set list displays special characters.

Undo & Redo

  • u: undo last change (can be repeated to undo preceding commands).
  • Ctrl-r: Redo changes which were undone (undo the undos).
⚠️ **GitHub.com Fallback** ⚠️