In tmux you can switch to window 2 with prefix_key + 2. I'd like to press rather prefix_key + u.
I tried in .tmux.conf this:
bind-key u 2
bind-key u select-window -t 2
Which doesn't work. Is it possible to create such mapping?
You need to include a colon to select based on index. Try this:
bind-key u select-window -t :2
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago
2 years ago