Map-Shift-Tab in rxvt-unicode


Mark

I want to map keybindings Ctrl++ to Shift. I managed to map + as follows. The corresponding entry isTabrxvt-unicodeCtrlTab.Xresources

URxvt.keysym.Control-Tab: \033[27;5;9~

Confirm that this mapping is valid using :cat -v

$ cat -v
^[[27;5;9~

^[[27;5;9~This sequence can then be used in applications such as vimmap Ctrl+ Tab. I want the following .Xresourcesentry to work.

URxvt.keysym.Control-Shift-Tab: \033[27;6;9~

However, catthe correct mapping is not shown:

$ cat -v
^[[Z

How to build Ctrl+ Shift+ Tabmapping?

edit

map

URxvt.keysym.Control-ISO_Left_Tab: \033[27;6;9~    
URxvt.keysym.Control-Shift-ISO_Left_Tab: \033[27;6;9~

behaves the same. Press Ctrl+ first Tab, release two, then press Return twice , then Ctrl+ Shift+ Tab, release all, then press Return twice , I get the following output:

$ cat -v
^[[27;5;9~
^[[27;5;9~


^[[27;6;9~↵
^[[27;6;9~M-bM-^FM-5
  • Case Ctrl+ Tab: The first return makes the input appear as output again.
  • Case Ctrl+ Shift+ Tab: The first return produces the symbol , the second returns the previous line.

NEXT EDIT: MORE INFORMATION

What happens if you press ctrl-shift (release both keys without pressing any) and then type in another window?

in different urxvt windows? When I press Ctrl+Shift and release both keys, a noticeable yellow box appears in the bottom left corner: KEYCAP PICTURE INSERT MODEit seems to be from urxvt, which doesn't appear in other applications.

Or even just ctrl-shift-tab then type in another window (I don't mean rxvt, like in a gedit window or a web browser or something.)

I changed a line.

What happens if you press shift+ctrl+tab (ie move down, ctrl down, tab, ctrl up, up) and vice versa (if you are doing that)?

in urxvt?

$ cat -v
shift+ctrl+tab then enter: ^[[27;6;9~
ctrl+shift+down: ↓
ctrl+shift+up: ↑
shift+down: ^[[b
shift+up: ^[[a
ctrl+down: ^[Ob
ctrl+up: ^[Oa
tab: |       | (tab)

I'm trying to narrow it down because I think you might have some kind of mapping on "ctrl+shift" in xcompose.

Not that I know, but you never know.

What is the output of xev when you press "Ctrl+Shift+Tab, Enter"?

KeyPress event, serial 32, synthetic NO, window 0x4800001,
    root 0xb4, subw 0x0, time 311734869, (567,395), root:(567,411),
    state 0x0, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0x4800001,
    root 0xb4, subw 0x0, time 311734971, (567,395), root:(567,411),
    state 0x4, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0x4800001,
    root 0xb4, subw 0x0, time 311736110, (567,395), root:(567,411),
    state 0x5, keycode 23 (keysym 0xfe20, ISO_Left_Tab), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4800001,
    root 0xb4, subw 0x0, time 311736494, (567,395), root:(567,411),
    state 0x5, keycode 23 (keysym 0xfe20, ISO_Left_Tab), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4800001,
    root 0xb4, subw 0x0, time 311736525, (567,395), root:(567,411),
    state 0x5, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4800001,
    root 0xb4, subw 0x0, time 311736525, (567,395), root:(567,411),
    state 0x4, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0x4800001,
    root 0xb4, subw 0x0, time 311737530, (567,395), root:(567,411),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
"   XmbLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4800001,
    root 0xb4, subw 0x0, time 311737633, (567,395), root:(567,411),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False
random 832

Shift+ Tabis usually mapped to keyym ISO_Left_Tabin X11 , so some programs may need it instead of the literal "shift-tab" in their config.

urxvt has a weird mapping on ctrl+shift, it seems you have to recompile to disable it: see this page for more details . EDIT Looks like in recent versions of rxvt you can simply add

URxvt.iso14755_52: False

Related


Map-Shift-Tab in rxvt-unicode

Mark I want to map keybindings Ctrl++ to Shift. I managed to map + as follows. The corresponding entry isTabrxvt-unicodeCtrlTab.Xresources URxvt.keysym.Control-Tab: \033[27;5;9~ Confirm that this mapping is valid using :cat -v $ cat -v ^[[27;5;9~ ^[[27;5;9~T

Is there a (lightweight) alternative to `rxvt-unicode`?

Buffalo I am currently rxvt-unicodeusing as a terminal emulator. Since I also like the configurability of GNOME and KDE's terminal emulators, I'm wondering if there is some sort of alternative that can replace GNOME or KDE Terminal, but rxvt-unicodewith more f

Is there a (lightweight) alternative to `rxvt-unicode`?

Buffalo I am currently rxvt-unicodeusing as a terminal emulator. Since I also like the configurability of GNOME and KDE's terminal emulators, I'm wondering if there is some sort of alternative that can replace GNOME or KDE Terminal, but rxvt-unicodewith more f

Is there a (lightweight) alternative to `rxvt-unicode`?

Buffalo I am currently rxvt-unicodeusing as a terminal emulator. Since I also like the configurability of GNOME and KDE's terminal emulators, I'm wondering if there is some sort of alternative that would replace GNOME or KDE Terminal, but rxvt-unicodewith more

rxvt-unicode does not display unicode characters

random document I don't understand why rxvt-unicodesome unicode characters are not displayed correctly, like ☁or ☂both ⚡. As shown in the screenshot, these symbols are replaced by a small box: Here is my locale: LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_CTYPE=

rxvt-unicode does not display unicode characters

random document I don't understand why rxvt-unicodesome unicode characters are not displayed correctly, like ☁or ☂both ⚡. As shown in the screenshot, these symbols are replaced by a small box: Here is my locale: LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_CTYPE=

rxvt-unicode does not display unicode characters

random document I don't understand why rxvt-unicodesome unicode characters are not displayed correctly, like ☁or ☂both ⚡. As shown in the screenshot, these symbols are replaced by a small box: Here is my locale: LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_CTYPE=

Set new icon for rxvt-unicode

Charles S I am trying to use numix icons for rxvt-unicode. I didn't find an up-to-date discussion on this topic, but the ones I'm following are: https://bbs.archlinux.org/viewtopic.php?id=166210 My /.Xdefaults looks like: URxvt*iconFile: /usr/share/icons/Numix

Italics in Emacs on text terminal (rxvt-unicode)

Igor I'm using Emacs running in urxvt and I can't get italics to work in Emacs despite terminal support. Here is my current setup: I haven't set it yet $TERM, so it's the default rxvt-unicode-256color. Mine is ~/.Xdefaultsdefined URxvt.font: xft:Inconsolata:si

rxvt-unicode-make fails with missing dependencies

Sebastian I'm trying to learn more about linux by exploring r/unixporn. I'm running on Debian Jessie Xfce and have the following: apt-get install libperl-dev git clone https://github.com/exg/rxvt-unicode.git ./configure --prefix=/usr --enable-everything && mak

Define color codes in rxvt-unicode

Sahinism Using some node.jstools like mochain my urxvtterminal, I have some problems with colored output. As you can see here , some text with color code 90 will disappear in the terminal. tput colorsThe output is: 256 and use the following command: (x=`tput o

Set new icon for rxvt-unicode

Charles S I am trying to use numix icons for rxvt-unicode. I didn't find an up-to-date discussion on this topic, but the ones I'm following are: https://bbs.archlinux.org/viewtopic.php?id=166210 My /.Xdefaults looks like: URxvt*iconFile: /usr/share/icons/Numix

Italics in Emacs on text terminal (rxvt-unicode)

Igor I'm using Emacs running in urxvt and I can't get italics to work in Emacs despite terminal support. Here is my current setup: I haven't set it yet $TERM, so it's the default rxvt-unicode-256color. Mine is ~/.Xdefaultsdefined URxvt.font: xft:Inconsolata:si

rxvt-unicode-make fails with missing dependencies

Sebastian I'm trying to learn more about linux by exploring r/unixporn. I'm running on Debian Jessie Xfce and have the following: apt-get install libperl-dev git clone https://github.com/exg/rxvt-unicode.git ./configure --prefix=/usr --enable-everything && mak

Set new icon for rxvt-unicode

Charles S I am trying to use numix icons for rxvt-unicode. I didn't find an up-to-date discussion on this topic, but the ones I'm following are: https://bbs.archlinux.org/viewtopic.php?id=166210 My /.Xdefaults looks like: URxvt*iconFile: /usr/share/icons/Numix

Select text in tmux under rxvt-unicode (urxvt)

Brian I've only recently started experimenting with a urxvtterminal emulator instead xterm. I'm a heavy tmuxuser so had to get the two to work together seamlessly. I've noticed that when running tmuxinternally urxvt, there is some strange behavior when selecti

Select text in tmux under rxvt-unicode (urxvt)

Brian I've only recently started experimenting with a urxvtterminal emulator instead xterm. I'm a heavy tmuxuser so had to get the two to work together seamlessly. I've noticed that when running tmuxinternally urxvt, there is some strange behavior when selecti

Increase font size in rxvt-unicode without editing ~/.Xdefaults

g33kz0r I'm a big Linux fan and have been spending a lot of time using iTerm on my Mac lately. One thing I really like about Mac and iTerm is especially the ability to use keyboard shortcuts to increase/decrease font size. I believe to do this is apple+ and ap

Select text in tmux under rxvt-unicode (urxvt)

Brian I've only recently started experimenting with a urxvtterminal emulator instead xterm. I'm a heavy tmuxuser so had to get the two to work together seamlessly. I've noticed that when running tmuxinternally urxvt, there is some strange behavior when selecti

Select text in tmux under rxvt-unicode (urxvt)

Brian I've only recently started experimenting with a urxvtterminal emulator instead xterm. I'm a heavy tmuxuser so had to get the two to work together seamlessly. I've noticed that when running tmuxinternally urxvt, there is some strange behavior when selecti

Increase font size in rxvt-unicode without editing ~/.Xdefaults

g33kz0r I'm a big Linux fan and have been spending a lot of time using iTerm on my Mac lately. One thing I really like about Mac and iTerm is especially the ability to use keyboard shortcuts to increase/decrease font size. I believe to do this is apple+ and ap

KeyEventArgs Shift + Tab

pear tree blossom I want to use this method to create KeyEvent "SHIFT+TAB". How can I set the Shift key as a modifier? Dim args As New System.Windows.Input.KeyEventArgs(Keyboard.PrimaryDevice, Keyboard.PrimaryDevice.ActiveSource, 0, Key.Tab) args.RoutedEvent =

Shift-Tab in tmux

crazy Currently I have this binding .tmux.configto go to the next window: bind-key -n Tab next-window I want to make the Shift+ Tabloop go in the opposite direction. is it possible? I tried bind-key -n S-Tab previous-window; but it doesn't work. Kamil Macioro

How to map Alt+` to Alt+Shift+Tab using AutoHotKey in Windows?

MK Safi In Mac, you can use Alt+` (aka backtick, backtick) instead of Alt+Shift+Tab to cycle through applications. I tried to create the same mapping using AutoHotKey and it failed. The closest I've come to making this work is Alt & `::ShiftAltTab But now, wh

How to map Alt+` to Alt+Shift+Tab using AutoHotKey in Windows?

MK Safi In Mac, you can use Alt+` (aka backtick, backtick) instead of Alt+Shift+Tab to cycle through applications. I tried to create the same mapping using AutoHotKey and it failed. The closest I've come to making this work is Alt & `::ShiftAltTab But now, wh

Convert SHIFT-JIS to Unicode?

Aditya When running a small vba application, I want to check for a certain name (like if it occurs in my table) by エンジン回転数simply matching the cell value with a predefined string . How can I store this string エンジン回転数in VBA ? My first guess would be to store it

Reverse keyboard TAB (Shift+Tab) in protractor

Peter I'm new here protractor javascriptand I have a reverse situation TAB (Shift+Tab). Can anyone please advise. ec SHIFT+ TABcan be done by :chord() search.sendKeys(protractor.Key.chord(protractor.Key.SHIFT, protractor.Key.TAB));

Reverse keyboard TAB (Shift+Tab) in protractor

Peter I'm new here protractor javascriptand I have a reverse situation TAB (Shift+Tab). Can anyone please advise. ec SHIFT+ TABcan be done by :chord() search.sendKeys(protractor.Key.chord(protractor.Key.SHIFT, protractor.Key.TAB));

Shift tab not retaining element focus

John Smith Javascript version code - link if (el.value.length > 1) { el.value = el.value[el.value.length - 1]; } try { if (el.value == null || el.value == "") { this.foucusOnInput(el.previousElementSibling); } else { this.foucusOnI