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?
Asked
Active
Viewed 5,756 times
5
-
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 mohammadi Mar 16 '18 at 22:28
-
This problem is just for the cases with nano 2.3.1. – saeed mohammadi Apr 15 '18 at 16:36
-
This problem have been solved in newer version. – saeed mohammadi Apr 15 '18 at 16:36
-
See https://askubuntu.com/questions/332961/how-to-use-undo-functionality-in-nano#672091. – Henke - Нава́льный П с м Oct 10 '20 at 06:30
-
2Does this answer your question? How to use Undo functionality in Nano? – Henke - Нава́льный П с м Oct 10 '20 at 06:31
-
Yes actually it does. Thank you! – saeed mohammadi Sep 23 '22 at 09:13
1 Answers
2
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)

wsdzbm
- 899
- 1
- 7
- 12