4 ms·
Still not a single key, but the emacs style shortcuts work in most inputs: Control+E and Control+A. Especially fine if you have CapsLock remapped to Control.
by DougBTX 16y ago
Still not a single key, but the emacs style shortcuts work in most inputs: Control+E and Control+A. Especially fine if you have CapsLock remapped to Control.
- parenthesis 16y agoOr cmd+left / cmd+right. (Relatedly: cmd+up/down; alt+left/right.)
- sendos 16y agoIf you just map the CapsLock key to Control, that means that in regular Mac apps you need to type things like Command-C and Command-V, which is not as convenient as CapsLock-C and CapsLock-V. So, I have CapsLock mapped to Command (so that CapsLock-C and CapsLock-V are copy and paste, for example, in Mac apps) and to make sure I'm happy in emacs, I have the following in my .emacs (setq mac-command-modifier 'control) which means, I can type all control-using commands (like C-x C-f, C-g, etc) by using the CapsLock button.
- SnowLprd 16y agoI'm not sure what your keyboard looks like, but on my keyboard the Cmd-C and Cmd-V key combinations are far, far closer together (and thus more convenient) than the CapsLock-C and CapsLock-V combinations you suggest.
- DougBTX 16y agoOn my keyboard, the command keys are right next to the space bar, one at each end. Initially, they were quite hard to press, but I've since learnt to use my thumbs to hold them down, and it's working out fine. (I also have Control mapped to Command, and CapsLock mapped to Control, but I rarely press the Control key.)
- chaosmachine 16y agoThe problem with this is it becomes 3 keys when you want to select (part of) a line of text. I very often use shift+home or shift+end while coding. Remapping right control and right option works well because they're right next to the shift key.