3 ms·
I don't miss pgup/pgdn so much, due to the excellent scrollabiity of the trackpad. The big one for me was no home/end keys (unless you buy the extended keyboar
by chaosmachine 16y ago
I don't miss pgup/pgdn so much, due to the excellent scrollabiity of the trackpad.
The big one for me was no home/end keys (unless you buy the extended keyboard, and even then they don't work in some applications). I ended up remapping "right command" to home and "right option" to end.
- DougBTX 16y agoStill 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.
- kingofspain 16y agoHome/End is the killer for me too. iPhone dev is 3-4x slower down to this alone. I guess I might get used to if I worked primarily on Macs, but I don't. Of course it also doesn't help that I'm running OS X in a VM and need to Windows-C/V to cut & paste!
- generalk 16y agoMacs are awesome: you can hit up the Keyboard System Preferences pane and hit the "Modifier Keys..." button to change that. Make Command into Control and Control into Command and you're back to your comfortable keys.
- kingofspain 16y agoInteresting. I'll give that a try thanks. Still OS X noob so it's good to know these things.
- eddieplan9 16y agomove to the beginning of line = command + left-arrow move to the end of line = command + right-arrow move to the top of page = command + up move to the bottom of the page = command + down As expected, holding shift at the same time allows you to select the text from the current cursor position to wherever you are jumping to. One of things I love about Mac is the consistency of shortcut key. Command+w always close a window or a tab. Command+, always gets me to preferences. No command+control+D to get to dictionary for the highlighted word? No Google Chrome for me.