我正在使用Byobu 5.73.切换窗口的tmux键绑定是ALT +向左箭头和ALT +向右箭头.我想为CTRL + SHIFT +左箭头和CTRL + SHIFT +右箭头更改此键绑定.
怎么做 ?
Eri*_*oie 18
一种方法是编辑/usr/share/byobu/keybindings/f-keys.tmux
.
你会发现这些行:
bind-key -n M-Left previous-window
bind-key -n M-Right next-window
Run Code Online (Sandbox Code Playgroud)
M
是Meta,又名ALT键.更改以下行:
bind-key -n C-S-Left previous-window
bind-key -n C-S-Right next-window
Run Code Online (Sandbox Code Playgroud)
C
为Ctrl键并S
为Shift键.
保存,退出,按F5重新加载配置文件.
参考文献:Bybobu doc,Byobu-and-mc,keybindings-in-byobu-using-tmux-backend,tmux
归档时间: |
|
查看次数: |
5302 次 |
最近记录: |