X-Git-Url: http://git.madism.org/?p=~madcoder%2Fdotfiles.git;a=blobdiff_plain;f=tmux.conf;fp=tmux.conf;h=8a3b02df126fd285fb2d469c4e402cfe68496d7b;hp=f44bc548bb77f51d843208e11c400a6a1025de5d;hb=a211bdcecaee9921ec9d2c5c456b5415485568cf;hpb=77881ef9b930e86c9750847d0587494eaa60bbb8 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