3

Does anyone know a way to autocomplete tmux internal commands?

For example, inside tmux I type bind-key + : then type ren... and expect to get rename-window or similar by pressing Tab.

1

Tmux will autocomplete commands when the entered string is unambiguous.

In the example you provide, renTab could complete to either rename or renumber. In order to have the complete work, you would have to enter an additional character to remove the ambiguity: a.

  • 2
    Ok, thanks. IMHO it would be nicer to cycle ambiguous completions, so user can easily discover or recall the right commands. – vlad Aug 22 '16 at 8:08
  • @vlad Perhaps; it would probably introduce far more complexity than could be justified by the otherwise marginal utility. – jasonwryan Aug 22 '16 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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