0

I would like to rebind Right Control to BackSpace (or 'pipe/backslash'). I would prefer to do this with emacs lisp, but am open to other solutions. (I tried doing this with xmodmap but it didn't work)

1 Answer 1

0

Here's an xmodmap solution. Put this in ~/.Xmodmap:

keycode 105 = BackSpace NoSymbol BackSpace

Use this to update instantly:

xmodmap ~/.Xmodmap

If you want pipe/backslash instead, just put:

keycode 105 = backslash bar backslash bar

The keycode is the same one.

Finally, the last way to interpret your question:

keycode 94 = Control_R NoSymbol Control_R
add Control = Control_R

This one puts Control_R where backslash/pipe used to be.

1
  • that solution binds backspace action to the keyboard Control_R key.
    – shupru
    Oct 4, 2013 at 23:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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