Configure Emacs to view cmd output and screen scrollback #8148
xuhdev
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
If you use bash or zsh instead you can have the shell manage the temp file for you with something like emacsclient --tty --alternate-editor '' <(cat /dev/stdin) The you dont need emacs-pager.sh at all you can just do:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In
~/.local/bin/emacs-pager.sh
:In
kitty.conf
:Now
kitty_mod+g
,kitty_mod+j
,kitty_mod+h
start emacs and show last command output/first command output on screen/the whole scrollback!Credit: Script inspired by https://write.as/mnmlmnl/tid-setting-emacsclient-up-as-a-pager-with-kitty
Beta Was this translation helpful? Give feedback.
All reactions