10 comments

[ 2.6 ms ] story [ 65.5 ms ] thread
It genuinely never ocurred to me that you use emacs somewhere outside the terminal.
It's quite nice for the following reasons:

- Image previews (for file management with dired/dirvish)

- PDF viewing

- In-buffer images (e.g. profile pictures in git log with Magit)

- Browsing simple HTML pages (e.g. API docs)

There's probably more I've yet to discover.

I genuinely never understood running Emacs in terminal, instead running terminal in GUI Emacs. That, until a day I joined a team where most development happens on remote EC2s, where people create joined tmux sessions.

Besides, it turns out, setting up emacslient for quick editing, or even for bringing up Dired to use as a directory lookup and switcher is also very nice.

Split the screen: c-x 2, 2nd window in shell-mode with M-x shell, everything is fine. Am i missing something here?
I didn't know about kkp package. Need to try it out - especially on MacOS there are still performance issues (that I work on) so having workable terminal with all the keybinds available would be helpful.

By the way, recently Kitty introduced variable sized text, which probably could be integrated in Emacs, too, to have my favorite feature - font resize per frame :)

I can highly recommend KKP. It works very well in Kitty, and it even lets you map super keybindings, swap modifier keys, etc. I also used it on MacOS to get a low-latency frame on big hiDPI screens where the Cocoa GUI becomes quite unusable.

It also works fine in many other terminals like iTerm2 and Ghostty. Last I tried, they don’t report Super though.

You might not want to have vendor lock-in on a terminal with opt-out telemetry.

https://github.com/kovidgoyal/kitty/issues/3802

This is off topic flame bait.

Yes, that is a concern, but this is a post about Emacs as a TUI, and sidetracking it to discuss a hot topic about another piece of software is concern trolling.

I usually use emacs-nox when running inside of a terminal. Not sure on how it's related exactly to emacs -nw. I do know it's a separate binary, so infer from that what you will.
In the related news, master branch of Emacs now supports child frames in the terminal https://yhetil.org/emacs-devel/m2h694lp7s.fsf@gmail.com, hopefully available in the next stable release.

That means we can have floating autocomplete menus, notification boxes, dialog-like interactions - all interesting possibilities that we've had in the GUI for a long time.