Hacker News new | past | comments | ask | show | jobs | submit login

On the flip side, it's pretty cool what Emacs can still do on a text terminal. Multiple windows, mouse, auto completion pop-ups--all work comfortably over an SSH session.



I use tramp for all things ssh these days. Becomes very practical w/ ssh-agent and Emacs bookmarks.


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.


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:/`

[1]: https://github.com/emacs-pe/docker-tramp.el


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.


The only thing I miss in terminal are Hyper and Super. Is there some way to get them to work in terminal?


You can configure the terminal emulator to emit a specific sequence for hyper/super, then configure Emacs to convert it back using local-function-key-map: http://unix.stackexchange.com/questions/79374/are-there-any-....

Out of the box, Konsole+Emacs do this with super.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: