Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On .tmux.conf, what is the difference between "bind" and "bind-key"?

share|improve this question
add comment

1 Answer

up vote 8 down vote accepted

"bind" is an alias for "bind-key", they have the same effect.
Also you can shorten commands as long as there is only one command that starts with the letters you write, so for instance "bind-k" or "bin" would work as well.

From the man page:

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.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.