mirror of https://github.com/CrimsonTome/tldr.git
25 lines
398 B
Markdown
25 lines
398 B
Markdown
# 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}}`
|