diff options
| author | David Kaufmann <astra@ionic.at> | 2016-07-26 18:05:10 +0200 |
|---|---|---|
| committer | David Kaufmann <astra@ionic.at> | 2016-07-26 18:05:10 +0200 |
| commit | de27747c10a8e4acc499f3cce4c615407ace5886 (patch) | |
| tree | a604a560a4b33c00814708c915db0c5a8c258c56 | |
| parent | 8869dfb1fc88db0579c2897ab9e4ebdbd8af3485 (diff) | |
| download | config-de27747c10a8e4acc499f3cce4c615407ace5886.tar.gz | |
update tmux conf to 2.2
| -rw-r--r-- | skel/.tmux.conf | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/skel/.tmux.conf b/skel/.tmux.conf index db7a2ed..4989908 100644 --- a/skel/.tmux.conf +++ b/skel/.tmux.conf @@ -17,13 +17,19 @@ set-option -g repeat-time 500 set-option -g history-limit 16000 set-option -g default-terminal screen-256color -set-option -g utf8 on set-option -g monitor-activity on -set-option -g mouse-utf8 on -set-option -g mouse-select-pane on -set-option -g mouse-select-window on -set-window-option -g mode-mouse on +# mouse options changed in v2.1 +# enable mouse support +set -g mouse on + +# v2.2 has auto-utf8-detection +#set-option -g utf8 on +#set-option -g mouse-utf8 on + +bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" +bind -n WheelDownPane select-pane -t= \; send-keys -M + set-window-option -g aggressive-resize on set-option -g renumber-windows on @@ -34,3 +40,4 @@ set-option -g status-left '[ #H ][ #S ][' set-option -g status-left-length 32 set-option -g status-right '][ load #(cut -d " " -f 1-3 /proc/loadavg) ][ %Y-%m-%d %H:%M ]' set-option -g status-right-length 48 + |
