Created
December 2, 2010 10:18
-
-
Save wardbekker/725085 to your computer and use it in GitHub Desktop.
My configuration to open files in an ssh session and opening them in a local emacs with Tramp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq server-socket-dir "~/.emacs.d/server") | |
(server-start) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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