Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

Tmux allows one to move through panes using Ctrl-b + (→, ←, ↑, ↓).

I would like to remap this to:

Ctrl-b + Ctrl-(l, j, i, k).

For reference, the layout of the keys l,j,i,k is similar to that of the arrow keys, but they are easier to type without moving the hand.

I have been editing a few things here and there on the .tmux.conf, but I could not find information on how to rebind the above commands.

share|improve this question
man tmux | less -p select-pane – jasonwryan Mar 3 '13 at 19:46
up vote 6 down vote accepted

tmux list-keys (or prefix + ? in dfault settings) will give you current key mappings in the form of commands needed to set them up. See man tmux, the command name is bind-key (and you might want to remove the default bindings with unbind-key).

You might also want to consider more "standard" combination hjkl, known from vi and clones (all keys in the home row), especially if you are a fast typist.

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.