Add clear-history binding to tmux.conf

vimbundler
nirenjan 2013-01-16 15:24:28 -08:00
parent 61002f9564
commit aab503c660
1 changed files with 5 additions and 0 deletions

View File

@ -131,6 +131,11 @@ bind-key - \
swap-pane -s tmux-zoom.1 \;\ swap-pane -s tmux-zoom.1 \;\
kill-window -t tmux-zoom kill-window -t tmux-zoom
# Clear history
# Bash uses C-l to clear the screen, so you can use C-l, C-k to clear the
# screen and the scrollback buffer too
bind-key -n C-k clear-history
# Terminator style pane switching # Terminator style pane switching
# OSX Terminal.app, enable Use option as meta key # OSX Terminal.app, enable Use option as meta key
# and delete the key bindings for Option Cursor left & Option Cursor right # and delete the key bindings for Option Cursor left & Option Cursor right