|
|
|
|
|
by atjoslin
4079 days ago
|
|
Run `emacs -nw --daemon` to start a background emacs server. Now, you can do `emacsclient -nw <file>` to boot up with almost no startup time. I have vi aliased to this, and `emacs -nw --daemon` opened by launchctl. A gotcha: If you change your emacs config and need to restart, be sure to `pkill emacs` to get rid of the daemon. |
|
e/vim/vi launches a terminal-mode client for the Emacs daemon, which only takes a split-second if the daemon is already running. If the daemon isn't running, it gets started automatically by virtue of the empty string being passed with the -a flag, per the man page for emacsclient.
ec launches a "gui-mode" (X/quartz) client for the daemon, which is started automatically if isn't running, same as before.