how to undo changes in nano editor code example
Example 1: how to undo in nano editor
Starting with nano version 2.3.5 in July 2014, undo/redo became standard:
Alt-U or Option-U or EscU - undo
Alt-E or Option-E or EscE - redo
Example 2: how to undo in nano
Starting with nano version 2.3.5 in July 2014, undo/redo became standard:
Alt-U or Option-U or EscU - undo
Alt-E or Option-E or EscE - redo