emacs
The extensible, customizable, self-documenting, real-time display editor. See also:
emacsclient. More information: https://www.gnu.org/software/emacs.
- Start Emacs and open a file:
emacs
- Open a file at a specified line number:
emacs +
- Run an Emacs Lisp file as a script:
emacs --script
- Start Emacs in console mode (without an X window):
emacs
- Start an Emacs server in the background (accessible via
emacsclient):
emacs --daemon
- Stop a running Emacs server and all its instances, asking for confirmation on unsaved files:
emacsclient --eval '(save-buffers-kill-emacs)'
- Save a file in Emacs:
<Ctrl x><Ctrl s>
- Quit Emacs:
<Ctrl x><Ctrl c>
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
