Signed-off-by: Pierre Habouzit <madcoder@debian.org>
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
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