A curated list of “escape hatches” in software.
Knowing how to cancel, undo, and redo help eases the fear of making mistakes. This list collects all software that does not follows the Ctrl-z pattern.
| Action | Keybinding | Notes |
|---|---|---|
| Cancel | C-g | |
| Undo | C-/ | |
| Redo | C-f then C-/ | “undo the undo” |
| Action | Keybinding | Notes |
|---|---|---|
| Cancel | ESC | in any vim mode |
| Undo | u | in vim command mode |
| Redo | Ctrl-r | in vim command mode |
A lot of good tips are shared in Oh shit, git!: