tmux key bind C-Tab (Ctrl + Tab) to switch/cycle to the next pane
Asked Answered
M

1

7

I'm trying to bind Ctrl + Tab to cycle to the next tab. I've added this to my ~/.tmux.conf file:

bind -n C-Tab select-pane -t :.+

But it doesn't work, however it i change it to Ctrl + a it works fine:

bind -n C-a select-pane -t :.+

Any ideas? My first thought is my terminal maybe hijacking it but i cant see anywhere, and nothing happends with Ctrl + Tab normally for me in the terminal, just a tab space is inserted. I'm using xfce4-terminal if that helps, else maybe im doing something wrong in my tmux conf.

Mercury answered 24/12, 2013 at 9:36 Comment(2)
Possible duplicate of: #15470501Immunology
@Immunology thanks, i hadn't noticed the comments on that question about C-Tab being not yet recognized in the current release, i'll try the not-yet-released code later ta.Mercury
P
1

Terminal wont sent key. You have the same issues for vim, and so on. The seams to work because the terminal grabs its, but it wont send to your current job inside it. I strongly recommend to use other mappings, ( i know, sounds stupid .... ).

take a look at this post, might help: vim cant map <C-Tab> to :tabnext

Popedom answered 13/11, 2015 at 15:52 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.