Browse files

C-a C-l to clear the current tmux pane.

Handy for clearing `rails server` output.
  • Loading branch information...
1 parent e889521 commit 18379dc236a97cbecb387a363574c7a7708b6093 @jasoncodes committed Nov 23, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 tmux.conf
View
3 tmux.conf
@@ -89,6 +89,9 @@ bind-key C-a last-window
# C-a C-k to close windows
bind C-k confirm-before kill-window
+# C-a C-l to clear window
+bind-key C-l send-keys -R \; clear-history
+
# copy/paste more like vim
# C-A [ enters copy mode, C-A ] pastes
set-window-option -g mode-keys vi

0 comments on commit 18379dc

Please sign in to comment.