5

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.

0

1 Answer 1

4

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
  • 4
    Ok, thanks. IMHO it would be nicer to cycle ambiguous completions, so user can easily discover or recall the right commands.
    – vlad
    Commented Aug 22, 2016 at 8:08
  • @vlad Perhaps; it would probably introduce far more complexity than could be justified by the otherwise marginal utility.
    – jasonwryan
    Commented Aug 22, 2016 at 8:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .