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
.
Written by Yaodong Zhao
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tmux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#