This was literally added about a month ago - command-aliases option On 9 Feb 2017 5:15 pm, "Josef Fortier" <[email protected]> wrote:
> I've wanted to be able to define a user commands. Something like: > > bind-command: run-shell "some complicated shell script using tmux" > > There are a couple of benefits I see: > > * Like most of the CLI keyboard driven tools, the number of "claimed" > key shortcuts quickly grows to the point where finding available keys > is non-trivial > > * A user command is often easier to commit to memory, as the name is > usually chosen for it's intelligibility rather then for it's > availability > > * User commands dramatically open up the namespace, which in turn > allows more easy experimentation. It's easy to add an ad-hoc command > without fear of stepping on existing control key mappings. The > intelligibility above also factors in here. An easier to remember > command is more likely to be recalled at some later point. > > > -- > Josef Fortier > (612) 234-5135 > > -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send an email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
