ILD

tmux关闭repeat功能
作者:Yuan Jianpeng 邮箱:yuanjp89@163.com
发布时间:2019-5-18 站点:Inside Linux Development

按ctrl+b,然后按方向键切换pane后,如果再次迅速按方向键,要继续执行切换,因为repeat功能,相当于你又按了ctrl+b,关掉这个功能:


set-option repeat-time 0


或者/etc/tmux.conf添加:

set-option -g repeat-time 0


也可以重新绑定,不带-r选项。

bind-key    Up    select-pane -U
bind-key    Down  select-pane -D
bind-key    Left  select-pane -L
bind-key    Right select-pane -R


https://superuser.com/questions/325110/how-to-turn-down-the-timeout-between-prefix-key-and-command-key-in-tmux


Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.