[tmux] new way for mouse configuration
This commit is contained in:
parent
e705b0946c
commit
25b3f5f386
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user