2 ms·
I use terminals almost exclusively inside Emacs, and it is strictly better than any terminal emulator on my system. I get really easy navigation on both command
by thom 8y ago
I use terminals almost exclusively inside Emacs, and it is strictly better than any terminal emulator on my system. I get really easy navigation on both command and output history, search (including regexes on command output), autocomplete, complex text manipulation (including cutting rectangles etc), integration with the clipboard (I can paste anything from my editor's history into a command). I can create complicated multi step commands in a buffer and send them, individually or one at a time, to the shell to be executed with simple key combinations. I can insert command output into a buffer at my cursor. But more importantly, Emacs is fullscreen and it's what I'm looking at anyway. I don't _want_ to switch away from it. My muscle memory is mostly trained on moving between Emacs buffers, and even with readline bindings, very few window managers and terminal emulators come close to supporting everything I want from a shell buffer.
I also exclusively do SQL in Emacs, and dataframes and plots in R, and tailing log files, and no end of other stuff, and if there's ever anything, no matter how little, that bothers me about interacting with these things, I can write code to make it behave exactly how I want it to.
The only thing I _don't_ do with terminals inside Emacs is SSH into a screen on a server that's already running Emacs, but even then, little jobs are generally easier with tramp, which makes it transparent when you're editing stuff and issuing commands remotely.
- mherrmann 8y agoThat does sound like a very cool work flow.
- celeritascelery 8y agoOnce I realized terminal emulators are more defined by their limitations then their features, I started running all my shells in emacs. Never looked back.