11

私が理解していることから

set -g mouse-select-window on

ステータス バーのウィンドウをクリックして、そのウィンドウに移動できるようにする必要があります。私はそれを tmux.conf ファイルに入れましたが、ウィンドウをクリックしても何も起こりません。私は何を間違っていますか?

4

2 に答える 2

16

私の .tmux.conf には、次のものがあります。

set -g mode-mouse on
set -g mouse-select-window on
set -g mouse-select-pane on

設定はありmode-mouse onますか?

于 2013-04-06T20:54:00.313 に答える
15

On 2.1 this config got deprecated and the new option to allow all mouse support is:

set -g mouse on

This break the nice mouse scroll support, but can be enabled with this:

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'"
于 2016-02-08T11:52:22.767 に答える