6. Undoing

Learn how to undo actions in emacs using keyboard shortcuts

Category: Introduction to Terminal

Undoing in emacs

To undo text in emacs, use Ctrl + _.

Create a new file /root/0x02_emacs/undoing. using

emacs /root/0x02_emacs/undoing

undoing

Save the file by running Ctrl + x, Ctrl + s

Verify the changes by running the cat command.

cat /root/0x02_emacs/undoing

The above command will display the content of the file, in the terminal.

Table Of Content