Emacs server

This commit is contained in:
Curt Spark 2024-12-13 17:28:17 +00:00
parent 2c13475d3d
commit 3870149fa1
2 changed files with 8 additions and 1 deletions

View File

@ -1448,3 +1448,9 @@ TRAMP edit files over SSH configuration
(when (eq window-system 'w32)
(setq tramp-default-method "plink")))
#+END_SRC
** Emacs Server
Start emacs server, this can then be used to open buffers/set the current emacs session as the EDITOR.
#+BEGIN_SRC emacs-lisp
(server-start)
#+END_SRC

View File

@ -1,2 +1,3 @@
alias edit emacsclient -n $1
alias cd z $1
alias ssh cd /ssh:$1:
alias cd z $1