Welcome to Shaun Luttin's public notebook. It contains rough, practical notes. The guiding idea is that, despite what marketing tells us, there are no experts at anything. Sharing our half-baked ideas helps everyone. We're all just muddling thru. Find out more about our work at bigfont.ca.

Undoing in Vim

Tags: vim

In some senses, u is a back button, r is a forward button, and U is a cancellation action.

  • u undoes any single action (including U.)
  • r redoes the action that u undid.
  • U is a line change cancellation action.