mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 17:26:01 +02:00
emacs: open file at line number (#3780)
This commit is contained in:
parent
e1b7b6f25e
commit
d17785495d
1 changed files with 12 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue