emacs: open file at line number (#3780)

client-spec/clarity
Ryan Olson 2020-01-23 07:01:39 -07:00 committed by Iván Hernández Cazorla
parent e1b7b6f25e
commit d17785495d
1 changed files with 12 additions and 4 deletions

View File

@ -3,14 +3,22 @@
> The extensible, customizable, self-documenting, real-time display editor.
> More information: <https://www.gnu.org/software/emacs>.
- Start emacs in console mode (without X window):
- Start in console mode (without X window):
`emacs -nw`
- Open a file in emacs:
- Open a file:
`emacs {{filename}}`
`emacs {{path/to/file}}`
- Exit emacs (save buffers and terminate):
- 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}}`