How can I enable Undo in nano? I am using a ssh connection with a server. I can not update the version of nano that is installed on the server. Is there anyway to use GNU nano 2.3.1 to have Undo function?
-
2I managed to find out the solution. I hope this helps. Use this command: nano -u Then use Alt+U for undo and Alt+E for redo.– saeed mohammadiMar 16, 2018 at 22:28
-
This problem is just for the cases with nano 2.3.1.– saeed mohammadiApr 15, 2018 at 16:36
-
This problem have been solved in newer version.– saeed mohammadiApr 15, 2018 at 16:36
-
See https://askubuntu.com/questions/332961/how-to-use-undo-functionality-in-nano#672091.– HenkeOct 10, 2020 at 6:30
-
2Does this answer your question? How to use Undo functionality in Nano?– HenkeOct 10, 2020 at 6:31
1 Answer
Alt-U
to undo,
Alt-E
to redo,
More hotkeys:
Ctrl-K
to cut,
Ctrl-U
to paste,
Ctrl-Z
to send to background (fg
to bring back)