【发布时间】:2022-06-28 19:21:14
【问题描述】:
是否可以在choose-tree 模式下重新映射 hjkl 键?
我尝试了以下方法:
unbind -T choose-tree h;
unbind -T choose-tree j;
unbind -T choose-tree k;
unbind -T choose-tree l;
bind -T choose-tree j send-keys -X collapse-selected-item;
bind -T choose-tree k send-keys -X select-next-item;
bind -T choose-tree l send-keys -X select-previous-item;
bind -T choose-tree \; send-keys -X expand-selected-item;
但我收到一个错误:table choose-tree doesn't exist。
我也尝试将choose-tree 替换为choose-mode,但也没有用。
【问题讨论】:
-
能否提供您的完整配置?您是否将选择树绑定到您的前缀键?
标签: tmux