bram85's Blog

bram85's Avatar Image
Tooting mostly about #emacs.
← All posts

#emacs #eshell tip: set the page delimiter to match your prompt pattern, so you can treat each command and its output as a page. Use narrow to a page (C-x n p) or Prot’s logos package (https://protesilaos.com/emacs/logos) to focus on one output at a time.

Add this to your configuration to set the page delimiter in eshell sessions:

(add-hook 'eshell-mode-hook (lambda () (setq-local page-delimiter eshell-prompt-regexp)))
To like or reply, open original post on Emacs.ch