tldr/pages/common/emacs.md

25 lines
398 B
Markdown
Raw Normal View History

2015-12-30 13:14:38 +00:00
# emacs
> The extensible, customizable, self-documenting, real-time display editor.
2019-06-08 01:04:00 +01:00
> More information: <https://www.gnu.org/software/emacs>.
2015-12-30 13:14:38 +00:00
- Start in console mode (without X window):
2015-12-30 13:14:38 +00:00
`emacs -nw`
2015-12-29 23:11:42 +00:00
- Open a file:
2015-12-29 23:11:42 +00:00
`emacs {{path/to/file}}`
2015-12-29 23:11:42 +00:00
- Save a file:
`Ctrl + X, Ctrl + S`
- Quit:
2015-12-29 23:11:42 +00:00
2019-07-31 04:25:48 +01:00
`Ctrl + X, Ctrl + C`
- Open a file at a specified line number:
`emacs +{{line_number}} {{path/to/file}}`