Remix.run Logo
finaard 3 days ago

Nowadays there's eat as excellent terminal emulator for emacs, which should replace the need to run external terminals.

I've been using it for a w while, and recently finally got fed up about terminals on my macbook not behaving as nicely as the ones on my linux box with proper tiling window managers, so spent some effort to make SSH into a terminal with completion easy from emacs, and now mostly handle terminals in emacs.

kccqzy 3 days ago | parent | next [-]

I use vterm which I believe prides itself for being the fastest terminal emulator inside Emacs. The eat README says 1.5 times faster than eat.

This matters a lot to me because the proprietary build/test tool at work likes to dump the stack trace for every failing unit test.

ElevenLathe 3 days ago | parent | prev | next [-]

I've been an ansi-term user for years (at least on unices, including Cygwin -- if I am forced to use vanilla w32 emacs without a *nix underneath, I will use eshell since I can do more in elisp-land without relying on the shitshow of Windows CLI utils). What are the benefits of eat vs ansi-term, in your opinion?

skydhash 3 days ago | parent [-]

A few QoL of life commands and better handling of now common escape sequences.

volemo 3 days ago | parent | prev [-]

Thanks for the recommendation!

finaard 3 days ago | parent [-]

Also check out the pull requests on that repo if there's something useful - in my case I've been using eat as single terminal instance for a while now - but for replacing stand alone terminals just opening multiple instances via multi-sh or similar isn't really helping for finding the terminals again. My solution was patching eat to allow buffer renames to the terminal title, and for ssh sessions, initially set the terminal title to the host I'm connecting to. Now I can easily find the terminals when switching buffers.

On top of that I'm using eyebrowse to have multiple workspaces, and some hooks around buffer switching that switch to the workspace a buffer is on instead modifying the current workspace.

qyrhx 3 days ago | parent [-]

tmux?