From aab503c660f79fcccf22ff190ed108cc8fc4e4a9 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Wed, 16 Jan 2013 15:24:28 -0800 Subject: [PATCH] Add clear-history binding to tmux.conf --- tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tmux.conf b/tmux.conf index 3726462..8cff72a 100644 --- a/tmux.conf +++ b/tmux.conf @@ -131,6 +131,11 @@ bind-key - \ swap-pane -s tmux-zoom.1 \;\ 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 # OSX Terminal.app, enable Use option as meta key # and delete the key bindings for Option Cursor left & Option Cursor right