[vim/tmux]works together
This commit is contained in:
parent
e7d09a7879
commit
6f5d14f372
@ -51,6 +51,8 @@ set-option -g visual-bell on
|
|||||||
#bind-key -t vi-copy PPage page-up
|
#bind-key -t vi-copy PPage page-up
|
||||||
#bind-key -t vi-copy NPage page-down
|
#bind-key -t vi-copy NPage page-down
|
||||||
|
|
||||||
|
set-window-option -g xterm-keys on
|
||||||
|
|
||||||
set -g mouse on
|
set -g mouse 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 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
|
bind -n WheelDownPane select-pane -t= \; send-keys -M
|
||||||
|
Loading…
Reference in New Issue
Block a user