Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

I am having lots of issues with tmux in mac.
Another problem I have is that I can not bind a key in my tmux.conf to be able to resize my panes.
What I need is the CTRL-b: resize-pane -U 10 I currently do to increase the size of the pane upwards in 10 cells (or downwards or left or right) to be done by a key shortcut and not to actually have to type this over and over (which I currently do unfortunately).
But I can not find a way to configure this since in mac it seems that CTRL and other keys work diffently than linux.
Can anyone please help out? I have been trying too long to figure this out and for my first Mac I am really starting to dislike them.....

share|improve this question
up vote 3 down vote accepted

bind e resize-pane -U 10 in ~/.tmux.conf, then tmux source-file ~/.tmux.conf (another useful shortcut: use the same principle).

share|improve this answer
1) So bind e resize-pane -U 10 is one line in tmux that binds the key e with the resize? Should I have pressed the ctrl-b before e? 2) I am not sure what you mean with tmux source-file ~/.tmux.conf. Doesn't tmux read the home directory's conf file? – Jim Jul 4 '13 at 19:43
@Jim: Yes, you hit the prefix key first. Then e. Yes, tmux does that, but it is faster to have it as a shortcut as well, so you don't have to restart tmux every time you make an improvement/extension in/to the init file. – Emanuel Berg Jul 4 '13 at 19:44
So tmux source-file ~/.tmux.conf is another line in tmux.conf? – Jim Jul 4 '13 at 19:46
+1.I can not test it now.If it works when I test it I will accept the answer.I really hope it works... – Jim Jul 4 '13 at 19:49
@Jim: No, that would be something you type. In the init file, it could look like this: bind u source-file ~/.tmux.conf if you want this for u. – Emanuel Berg Jul 4 '13 at 19:50

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.