- Published on
TIL: My shell has an undo shortcut
This seems obvious, but it took me ~5 years of using the terminal to realize that I can use ctrl + / to undo my latest edit. And it works repeatedly, unlike yank!
Credits to an offhand comment at the end of a StackExchange answer about mashing too many ctrl + ws to delete words.