tmux 配置:绑定键设置中的 -t 是什么意思?
tmux config: what is -t in bind-key setting should mean?
我的 tmux 突然启动并出现错误 .tmux.conf:41: usage: bind-key [-cnr] [-T key-table] key command [arguments]
tmux.conf 中的那一行是 bind-key -t vi-copy v begin-selection
我想,问题出在 -t key 上,这是 bind-key 命令无法预测的。
但它正在工作!
不同类型的密钥 table 被集成在一起,并且 -t
标志在几年前被丢弃。复制模式命令现在使用 send -X
发送,新的 table 称为 copy-mode-vi
。
因此您的示例变为:
bind-key -Tcopy-mode-vi v send -X begin-selection
我的 tmux 突然启动并出现错误 .tmux.conf:41: usage: bind-key [-cnr] [-T key-table] key command [arguments]
tmux.conf 中的那一行是 bind-key -t vi-copy v begin-selection
我想,问题出在 -t key 上,这是 bind-key 命令无法预测的。
但它正在工作!
不同类型的密钥 table 被集成在一起,并且 -t
标志在几年前被丢弃。复制模式命令现在使用 send -X
发送,新的 table 称为 copy-mode-vi
。
因此您的示例变为:
bind-key -Tcopy-mode-vi v send -X begin-selection