[tmux] new way for mouse configuration

This commit is contained in:
Mathieu Maret 2015-12-08 14:59:00 +01:00
parent e705b0946c
commit 25b3f5f386
1 changed files with 5 additions and 3 deletions

View File

@ -40,16 +40,18 @@ setw -g mode-keys vi
#bind-key C-a last-window
# set-option -g default-terminal "screen-256color"
set-option -g mouse-select-pane on
set-option -g mouse-resize-pane on
set-option -g status-keys vi
set-option -g bell-action any
set-option -g set-titles on
set-option -g set-titles-string '#H:#S.#I.#P #W #T'
set-option -g visual-bell on
set-option -g -q mouse on
bind-key -T root PPage if-shell -F "#{alternate_on}" "send-keys PPage" "copy-mode -e; send-keys PPage"
bind-key -t vi-copy PPage page-up
bind-key -t vi-copy NPage page-down
setw -g mode-keys vi
setw -g mode-mouse on
setw -g monitor-activity on
bind C-j previous-window