mirror of https://github.com/CrimsonTome/tldr.git
emacs: open file at line number (#3780)
parent
e1b7b6f25e
commit
d17785495d
|
@ -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}}`
|
||||
|
|
Loading…
Reference in New Issue