From: Pierre Habouzit Date: Thu, 15 Sep 2011 19:38:26 +0000 (+0200) Subject: update for newer tmux X-Git-Url: http://git.madism.org/?p=~madcoder%2Fdotfiles.git;a=commitdiff_plain;h=a211bdcecaee9921ec9d2c5c456b5415485568cf update for newer tmux Signed-off-by: Pierre Habouzit --- diff --git a/tmux.conf b/tmux.conf index f44bc54..8a3b02d 100644 --- a/tmux.conf +++ b/tmux.conf @@ -3,7 +3,9 @@ set -g default-terminal screen-256color set -g history-limit 100000 set -g mouse-select-pane on +set -g mouse-resize-pane on set -wg mode-mouse on +set -g mouse-utf8 on set -wg xterm-keys 1 set -g status-keys vi set -wg mode-keys vi @@ -71,6 +73,10 @@ bind -t vi-copy C-u page-up bind -t vi-copy C-d page-down bind -t vi-copy G bottom-line bind -n -t vi-copy Escape cancel +bind -n -t vi-copy | start-of-line + +bind - run-shell "tmux show-buffer | xclip" +bind = choose-buffer "run-shell 'tmux show-buffer -b %% | xclip'" ############################################################################## # Edit mode