Nano Undo/Redo Keyboard Shortcuts

Undo or Redo are the most common operations one has to perform while working on a file, if you are making use of the Nano text editor, then you would need to make use of the keyboard shortcuts in order to do a undo or redo operation.

Let's take a look at them.

Undo Keyboard Shortcut (macOS/Linux/Windows)

Esc + U

Alt + U

Option + U

Redo Keyboard Shortcut (macOS/Linux/Windows)

Esc + E

Alt + E

Option + E

Note, this feature may not be available in all versions. I am using GNU Nano version 7.2

Also, you would see the keyboard shortcuts for undo/redo displayed on the Nano Options bar at the bottom as,

M-U Undo

M-E Redo

Nano Undo Redo Keyboard Shortcut Options

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail:

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap