this post was submitted on 12 May 2024
29 points (91.4% liked)
Emacs
2194 readers
1 users here now
Our infinitely powerful editor.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How do u toggle eat? Just a keybind to open it and close it with q?
I'm not sure I understand your question.
Eat has its own major mode which is used when you open a standalone buffer via the
eat
function.When it's embedded in Eshell it mostly just does the right thing whenever you invoke a command that uses terminal control codes (e.g. htop) -- and many of those can be closed with q, yes.
I assume Eat is activated for any program listed in the eshell-visual-commands variable (but I'll admit I don't really understand how that works). The notable new minor modes present when I run htop in eshell are
Eat--Eshell-Local
andEat--Eshell-Process-Running
.Yeah i was just asking if you close your eat buffer with q. I really like having one button to open and close my terminal so thats why i asked. Thanks for the extensive awnser tho