Re:Buttery Smooth Emacs
by gkya on Sunday October 30, 2016 @12:57PM
(#12830807)
I use tramp for all things ssh these days. Becomes very practical w/ ssh-agent and Emacs bookmarks.
[ Parent
| on HN ]
You can even use eshell w/ tramp... sorta
What do you mean sorta? The eshell integration is amazing in later versions. Can cd into docker instances. Is glorious.
Re:Buttery Smooth Emacs
by systemfreund on Sunday October 30, 2016 @04:21PM
(#12832012)
Could you share details, please? Does it work out-of-the box or what do I need do do this?
Edit: Found it out myself. Install docker-tramp.el [1], `C-x C-f` to `/user@myserver|docker:mycontainer:/`
Apologies, having a day mostly out. That is indeed the package I am using. Glad you found it.
Just quirks, like if you cd to an absolute path 'cd /' it will cd to the local path not the remote one.
There are quirks, I'm sure. But that is one that actually makes sense. I do sometimes wish it were easier to cd to the root of the remote, but not often.
I usually prefer having the main remote directory open in dired and a shell session in another buffer. I prefer to work in a Posix shell as AFAIK eshell does not do at least one of: IO redirection, piping.