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 recently switched from gnome terminal to urxvt. I am also a heavy emacs w. tabs user which uses a lot of key combinations similar to urxvt (tab related stuff) like Shift-Left and Shift-Right. These key-combinations are set for selecting text in emacs.

Is there a way to map ALT-1, ALT-2, ALT-3 for tabs 1, 2, 3 ..?

Is there an extension to do that ? Can it be achieved through the ~/.Xdefaults file ?

share|improve this question

closed as off-topic by slm, Ramesh, Anthon, jasonwryan, Thomas Nyman May 10 '14 at 8:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question has been posted on multiple sites. Cross-posting is strongly discouraged; see the help center and community FAQ for more information." – slm, Ramesh, Anthon, jasonwryan, Thomas Nyman

cross posted: superuser.com/questions/434678/… – slm May 10 '14 at 1:42

I previously have written one and upload it onto my github. http://kuantkid.github.com/urxvt-utils/

However, it may subject to unkown bugs actually. If you find any issues regarding the problem, please kindly leave me a message in this thread or on the github.

You can just copy the tabbed_enh file you find in the github to the urxvt perl libraries and use urxvt -pe tabbed_enh to activate it. Also, use .Xresources to configure the keys but remember to use xrdb -merge ~/.Xresources after editing the file.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.