diff --git a/pages/common/emacs.md b/pages/common/emacs.md index ff60ecbdf..a9895ea73 100644 --- a/pages/common/emacs.md +++ b/pages/common/emacs.md @@ -3,14 +3,22 @@ > The extensible, customizable, self-documenting, real-time display editor. > More information: . -- 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}}`