Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

By default, tmux seems to be using

C-b, Left to move left a pane
C-b, Right to move right pane

I want to use

C-b, h to move left a pane
C-b, l to move right a pane 

Here's my current attempt in .tmux.config:

unbind Left
unbind Right
unbind Up
unbind Down

bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

I would appreciate any assistance.

share|improve this question

migrated from Oct 8 '12 at 15:10

This question came from our site for professional and enthusiast programmers.

This is what I use here and it works, tmux version 1.6. – Thor Oct 12 '12 at 14:52

This is an old question, but I will answer it so that people in the future will not struggle to find the same simple answer.

The problem is that the bind command does not really work correctly in versions of tmux prior to 1.5, and I was running tmux on an old system. The only correct solution, given that I lacked root, was to download the updated source and build my own version.

share|improve this answer

Your Answer


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.