tldr/pages/common/emacs.md
2020-01-23 14:01:39 +00:00

398 B

emacs

The extensible, customizable, self-documenting, real-time display editor. More information: https://www.gnu.org/software/emacs.

  • Start in console mode (without X window):

emacs -nw

  • Open a file:

emacs {{path/to/file}}

  • Save a file:

Ctrl + X, Ctrl + S

  • Quit:

Ctrl + X, Ctrl + C

  • Open a file at a specified line number:

emacs +{{line_number}} {{path/to/file}}