3 ms·
If you're on OS X, and you want to force yourself to learn to do this, there's a program called Karabiner[1] which lets you remap keys in advanced ways using an
by jdpage 12y ago
If you're on OS X, and you want to force yourself to learn to do this, there's a program called Karabiner[1] which lets you remap keys in advanced ways using an XML config. I have a config snippet[2] that I got from somewhere (sadly, I don't remember where) that remaps incorrect combinations of Shift and letters to be dead.
You can do something similar with AutoHotKey on Windows, though I don't have a config for it.
[1] https://pqrs.org/osx/karabiner/ https://pqrs.org/osx/karabiner/
[2] http://pastie.org/9708667 http://pastie.org/9708667
- rz2k 12y agoI use Karabiner and Seil which are great, but unless you are using an Apple keyboard with a numeric keyboard, you don't get a right-control key, which will matter for many of the most used commands for emacs. For me, when recently trying to remap the left-shift key I found out that it was not a problem for the supposed best practice of using it for C-g/x/c etc, but that instead I had been using a worse practice for typing ":" or """ when the wrong characters turned up al over the place. Anyway, I suppose the left option key would be pretty good to map to control for emacs, since it's rarely more needed than the right option key.
- ashi 12y agoJust use Karabiner to configure Return to do double duty as Right Control.
- ek750 12y agoTrue, the laptop and compact apple keyboard lack a right control. I've found that I use the right option key infrequently and use Karabiner to remap the option to control. It definitely helps with the RSI, and makes switching to someone else's machine frustrating :)
- derengel 12y agoWhy would you remap the left option key to ctrl when you already have two left ctrl keys (caps and original ctrl) ? I do set the right option key to ctrl but only in iterm and emacs.
- rz2k 12y agoBecause I'm bad at writing! (I meant right-option) You have no idea what I am doing with the esc, capslock, and control keys on the left side of my keyboard, but none of them are default. On the right however I'm just trying to make sure I get a forward delete somewhere. In fact using Karabiner or Seil, the right shift is now shift if pressed as a modifier, but forward delete if pressed alone.
- theOnliest 12y ago> I have a config snippet[2] that I got from somewhere (sadly, I don't remember where) that remaps incorrect combinations of Shift and letters to be dead. Very likely from Steve Losh (I did this too, and it helped a lot): http://stevelosh.com/blog/2012/10/a-modern-space-cadet/#shift-key-training-wheels http://stevelosh.com/blog/2012/10/a-modern-space-cadet/#shif....