4 ms·
EShell in Emacs can preserve point at the prompt that executed the command. You can then hit space to page through the output, or start typing to immediately ju
by mickeyp 4y ago
EShell in Emacs can preserve point at the prompt that executed the command. You can then hit space to page through the output, or start typing to immediately jump to the end of the buffer (and thus a blank prompt):
https://www.masteringemacs.org/article/complete-guide-mastering-eshell https://www.masteringemacs.org/article/complete-guide-master...
There's also `C-c C-p` to jump to the previous command prompt in the likes of M-x shell. That's not quite what you want, but it's another way to jump back up.
- xenodium 4y agoAlso eshell imenu support can be enabled https://xenodium.com/imenu-on-emacs-eshell https://xenodium.com/imenu-on-emacs-eshell
- joeman1000 4y agoHey Xenodium, thanks for this post. I love your site and use Plain Org regularly. I wanted to ask: what utility do you get in jumping back to the old prompts? Can you edit them in-place and re-run them or something?
- xenodium 4y ago> Hey Xenodium, thanks for this post. I love your site and use Plain Org regularly. Thank you. Really nice to hear it. > I wanted to ask: what utility do you get in jumping back to the old prompts? Mostly about jumping back to specific points in buffer. If you’ve been investigating or troubleshooting in a shell session, you can quickly jump back to previous invocations of a command to view its output. By now, I’ve become used to imenu being available in most modes/contexts, so I figured why not eshell too.