Yves Dorfsman <yves-qq95mn99uusavxtiumw...@public.gmane.org> writes:

> For people spending a lot of time in a terminal/shell (bash, csh etc...) do
> you work from the shell or from an editor?
>
> The joke goes that people using emacs live inside emacs, and I have indeed
> seen developers working from a simple window and sending chunk of code to a
> compiler/repl right from emacs, now what about the shell?

Sure, I live in Emacs and use M-x term for all of my shell work.  I also
have helm-mode hooked up to our server database (which is also our
Puppet ENC).

So to start a SSH session to a host OR switch to the already-open buffer
for that host, I push the magic helm key (C-^ for me) and start typing
the name of a host.  helm-mode knows about buffers and the ENC and
offers completions. I pick the appropriate buffer or hostname and off I
go.

My init on the remote servers starts screen or attaches to an existing
screen session.  I'm behind the times and haven't switched to tmux :)

Once upon a time I used Tramp inside of Emacs and a special Bash prompt
to make it easy edit files on the remote hosts.  But I never worked out
every last kink so I no longer do this.  Plus these days we use Puppet
so much that I'm not often editing files on remote systems.

_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to