3 ms·
alias vi='emacsclient -t -a ""' Then whenever you run 'vi' it will create a new frame on an Emacs instance that's running as a server[1]. If there's not an Ema
by alexhutcheson 6y ago
alias vi='emacsclient -t -a ""'
Then whenever you run 'vi' it will create a new frame on an Emacs instance that's running as a server[1]. If there's not an Emacs server already running, then it will start one for you, so the first invocation will be slow, but every subsequent invocation will be fast. No need to change your muscle memory for this particular case.
[1] https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html#Emacs-Server https://www.gnu.org/software/emacs/manual/html_node/emacs/Em...