freedomboneeee/doc/EN/app_emacs.org

1.5 KiB

/free/freedomboneeee/src/commit/fb5fe89009e96045417a03049c897805cada2ecd/doc/EN/images/logo.png

Emacs

Emacs is a text editor popular with software developers or anyone who needs to take notes at high speed or be able to customise their editing environment to a high degree. When installed on Freedombone it can be used together the Mutt email client to edit new emails or if you need to manually edit configuration files.

Installation

Log into your system with:

ssh myusername@mydomain -p 2222

Using cursor keys, space bar and Enter key select Administrator controls and type in your password.

Select Add/Remove Apps. If Vim is selected then you might want to unselect and uninstall it first, then select emacs.

Common key combinations

For anyone new to Emacs some common keys are:

CTRL-x CTRL-s Save
CTRL-x CTRL-c Exit
CTRL-l Go to a line number
CTRL-x CTRL-f Open a file
SHIFT-ALT-< Go to the top of the file
SHIFT-ALT-> Go to the end of the file
SHIFT cursors Select text
CTRL-x CTRL-h Highlight all text
ALT-w Copy selected text
CTRL-y Paste selected text
ESC-ESC-ESC Undo current selection