Shortcut
Terminal Undo All Edits on the Current Line Shortcut
The Terminal shortcut to undo all edits on the current line is Escape on Windows. We haven't confirmed a Mac shortcut for this yet.
Quick Answer
- Windows
- Escape
- Mac
- Not confirmed yet
- Web
- Not confirmed yet
TerminalShortcut
Undo All Edits on the Current Line
Puts the line back to how it was when you started typing it.
How to undo all edits on the current line in Terminal
- Open Terminal and go to where you want to undo all edits on the current line.
- Press Escape on Windows.
Terminal Undo All Edits on the Current Line Shortcut for Windows
Press Escape.
Terminal Undo All Edits on the Current Line Shortcut for Mac
We haven't confirmed a Mac shortcut for this yet.
Terminal Undo All Edits on the Current Line Shortcut for Terminal Web
We haven't confirmed a Terminal Web shortcut for this yet.
Related Keyboard Shortcuts
Frequently asked questions
What is the Terminal undo all edits on the current line shortcut?
On Windows, press Escape.
Is there a Mac shortcut to undo all edits on the current line in Terminal?
We haven't confirmed a Mac shortcut for this yet.
Does it work in Terminal for the web?
We haven't confirmed a web version shortcut for this yet.
Official source · How we verify