While in copy mode (Ctrl+[) is there a way to refresh the buffer without having to leave copy mode?
This would be helpful while scrolling through long running output.
There's a refresh-from-pane
(requires tmux 3.2+) command in copy mode. The default key binding for it is r
.
To check if you tmux
supports refresh-from-pane
:
$ tmux list-keys -T copy-mode | grep refresh-from-pane
bind-key -T copy-mode r send-keys -X refresh-from-pane
$ tmux list-keys -T copy-mode-vi | grep refresh-from-pane
bind-key -T copy-mode-vi r send-keys -X refresh-from-pane