Jim
Jim

Reputation: 14270

Change Tmux key binding?

Is it possible to change the tmux keybinding for showing pane numbers in one's tmux configuration file? I'd like to change it from "q" to "p". I'm looking at the Tao of Tmux and am not seeing instructions on how to make such a change.

Upvotes: 2

Views: 3454

Answers (1)

Gonzalo Matheu
Gonzalo Matheu

Reputation: 10064

In your tmux configuration (~/.tmux.conf) add:

unbind p  # to remove current bind
unbind q  # to remove original bind
bind p display-panes # bind new ley to action

Upvotes: 2

Related Questions