Skip to main content
Tweeted twitter.com/#!/StackUnix/status/376634865737031680
added 631 characters in body
Source Link
Forethinker
  • 1.4k
  • 1
  • 16
  • 25

pressing ctrl-tab in terminator has the same effect as pressing tab, but when I see the key-bindings in the setting, nothing is mapped to ctrl-tab, so why is ctrl-tab reserved?

Now, if I am working with xterm, I know a way around this. So essentially I am trying to see if there is a similar workaround. The solution goes like,

Add the following lines to .Xresources:

*vt100.translations: #override \n\
    Ctrl ~Shift <Key>Tab: string(0x1b) string("[27;5;9~") \n \
    Ctrl Shift <Key>Tab: string(0x1b) string("[27;6;9~") \n

reload

xrdb ~/.Xresources

and add the following lines. Here I am trying to cycle through screen windows with ctrl-tab and ctrl-shift-tab

# Ctrl-Tab
bindkey "^[[27;5;9~" next

# Ctrl-Shift-Tab
bindkey "^[[27;6;9~" prev

pressing ctrl-tab in terminator has the same effect as pressing tab, but when I see the key-bindings in the setting, nothing is mapped to ctrl-tab, so why is ctrl-tab reserved?

pressing ctrl-tab in terminator has the same effect as pressing tab, but when I see the key-bindings in the setting, nothing is mapped to ctrl-tab, so why is ctrl-tab reserved?

Now, if I am working with xterm, I know a way around this. So essentially I am trying to see if there is a similar workaround. The solution goes like,

Add the following lines to .Xresources:

*vt100.translations: #override \n\
    Ctrl ~Shift <Key>Tab: string(0x1b) string("[27;5;9~") \n \
    Ctrl Shift <Key>Tab: string(0x1b) string("[27;6;9~") \n

reload

xrdb ~/.Xresources

and add the following lines. Here I am trying to cycle through screen windows with ctrl-tab and ctrl-shift-tab

# Ctrl-Tab
bindkey "^[[27;5;9~" next

# Ctrl-Shift-Tab
bindkey "^[[27;6;9~" prev
Source Link
Forethinker
  • 1.4k
  • 1
  • 16
  • 25

terminator ctrl-tab key binding

pressing ctrl-tab in terminator has the same effect as pressing tab, but when I see the key-bindings in the setting, nothing is mapped to ctrl-tab, so why is ctrl-tab reserved?