Last Updated: February 25, 2016
·
971
· yaodong

clear history in Tmux

Put this in your .tmux.conf and reload configuration.

bind -n C-k send-keys C-c \; send-keys -R \; clear-history \; send-keys C-l

When you want clear history in pane, press Ctrl-k.