在tmux上,“ bind”和“ bind-key”有什么区别?


57

在.tmux.conf上,“ bind”和“ bind-key”有什么区别?

Answers:


59

“ bind”是“ bind-key”的别名,它们具有相同的作用。
您也可以缩短命令,只要只有一个以您写的字母开头的命令,例如“ bind-k”或“ bin”也可以工作。

从手册页:

bind-key [-cnr] [-t key-table] key command [arguments]
                    (alias: bind)

(...)

 Most commands have a shorter form, known as an alias.  For new-session,
 this is new:

       $ tmux new vi

 Alternatively, the shortest unambiguous form of a command is accepted.
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.