Ask HN: Have you remapped the Caps Lock key? [Poll]
If you want to, please provide any alternate mapping you're using in the comments.
If you want to, please provide any alternate mapping you're using in the comments.
Protip: In all recent versions of OSX you can natively remap Caps Lock and other keys via System Preferences -> Keyboard -> Modifier Keys.
(Filed under ⌨.)
I'm a vim and tmux guy, so that's my motivation.
I'm actually quite happy with my current setup but handling meta keys on my MPB is frustrating. Having ESC be closer is a nice thing to have.
Thanks for the reminder.
http://johnhaller.com/useful-stuff/disable-caps-lock
If you're more adventurous, you can turn it into a Billy Mays Key so your PC says a fun Billy Mays phrase every time you press CAPS LOCK. It's also open source if you want to play with it:
This fixed my thumb:
localectl set-x11-keymap us pc104 altgr-intl lv3:ralt_alt,caps:super,lv3:lwin_switch
So, US-International, LAlt=Ralt, Caps->Win, Win->AltGrCombined with ShiftIt, I can approximate a primitive keyboard-controlled tiling window manager on the Mac: https://github.com/fikovnik/ShiftIt
Anyone know how I can remap the Caps Lock key this way on a Mac?
As far as remapping goes, I've remapped my right ctrl to delete. I delete a lot, and reaching to the far right corner of the keyboard was a pain.
I have been using Total Commander for YEARS and it is the first thing I load on a computer that does not already have it.
Try keyremap4macbook: https://pqrs.org/macosx/keyremap4macbook/
Since I use bowl-design Kinesis keyboards both at home and at work, the usual position for Caps Lock (where I put Tab) is just a tad bit more comfortable for repeated pinky use.
Would probably have been better as esc or ctrl, but I didn't feel like having to relearn the muscle memory for those keys.
.. The problem is when I use a normal keyboard layout, and hit Caps lock in Vim and it doesn't DRT. :)
(also doesn't that little green light with no meaning bug you?)
I have the dvorak version.
I also map Escape to Caps Lock, for the very rare occasion that Caps Lock is actually needed (one a year, maybe). Escape is actually really useful for things other than switching modes in Vim, as it's often the default 'cancel that' binding that closes windows and cancels something you've started.
Not so because reaching it is hard on a normal keyboard (as opposed to Mac wtfness), but because I never intentionally use caps lock and accidentally enabling it is annoying.
I just did.