EMACS QUICK KEYS
By default, there are two text editors installed on most Linux systems: vi and Emacs, folks often choose to install pico as well. This tutorial will focus on some important keystrokes in Emacs.
# emacs [filename]
This will get you into the text-editing screen. You can use the arrow keys to move around in the file, as you would for most text editors. Use [Page Up], [Page Down], [Home], and [End] keys for their respective purposes. There are also certain keystrokes you can use to navigate to text in the file, which include:
* [ESC]f to move forward one word
* [ESC]b to move backward one word
* [ESC]a to move to the beginning of a line press
* [ESC]e to move to the end of a line press
* CTRL]k to delete text from the cursor to the end of the line (This keystroke also stores deleted text in a buffer.)
* CTRL]y to paste the deleted text (known as the "yank" command)
Here are two Emacs sequences:
* CTRL]x, [CTRL]s to save a file
* CTRL]x, [CTRL]c to exit Emacs
All tutorials we have thought to write or that have been compiled that do not explicitly belong in another category.
1 post • Page 1 of 1