Tmux plugin to open the last non-empty command output in a pager.
set -g @plugin 'mskelton/tmux-last'
A regex pattern to identify command separator. Required.
set -g @tmux-last-prompt-pattern '> '
Set's the key that should be bound to open the last command output. Defaults to t
.
set -g @tmux-last-command-key t
The number of lines consumed by the prompt. If your prompt takes up two lines, you could set this to 2
. Defaults to 1
.
set -g @tmux-last-prompt-lines 1
The pager to use for the captured output. Defaults to $PAGER
.
set -g @tmux-last-pager less