Create a gist now

Instantly share code, notes, and snippets.

My configuration to open files in an ssh session and opening them in a local emacs with Tramp
(setq server-socket-dir "~/.emacs.d/server")
(server-start)
location="/`whoami`@`hostname`:$(readlink -f $1)"
ssh <YOU@LOCAL-WORKSTATION> emacsclient -n -s '~/.emacs.d/server/server' $location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment