Pārlūkot izejas kodu

reenable mouse scrolling while in input mode

Kevin Heinicke 8 gadi atpakaļ
vecāks
revīzija
52cacc1b17
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      tmux.conf

+ 3 - 0
tmux.conf

@@ -5,6 +5,9 @@ set -g @plugin 'christoomey/vim-tmux-navigator'
 
 set -g mouse on
 
+# allow scroll while in input mode
+bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'"
+
 # try to use correct colors
 set -g default-terminal screen-256color