top | item 6969671

Ask HN: Have you remapped the Caps Lock key? [Poll]

28 points| robinh | 12 years ago | reply

A submission to Hacker News on remapping the Caps Lock key (https://news.ycombinator.com/item?id=6969401) got me curious. From the thread, it looked as if most people remap their Caps Lock key to something else. Since these answers may be heavily biased (it was a thread about remapping that key, after all), here's a poll.

If you want to, please provide any alternate mapping you're using in the comments.

64 comments

order
[+] mpweiher|12 years ago|reply
Remapped to have the control key positioned where God and Digital Equipment Corporation intended it to be (and the Apple II, Amiga, Atari ST, ...). The position below the shift key is the product of a malevolent conspiracy by the suits (IBM!) to keep programmer productivity in check and cause RSI.
[+] cypherpunks01|12 years ago|reply
I've found Ctrl to be far and away the best remapping, especially for Mac keyboards where the Ctrl key is extremely small and awkward to type.

Protip: In all recent versions of OSX you can natively remap Caps Lock and other keys via System Preferences -> Keyboard -> Modifier Keys.

[+] DDR0|12 years ago|reply
I find caps lock useful for both typing CAPITAL_CONSTANTS and YELLING AT PEOPLE. I have remapped other keys, such as the the menu key to compose, and I usually use the super key to trigger custom key shortcuts.

(Filed under ⌨.)

[+] mikegirouard|12 years ago|reply
Like a lot of folks here, I've remapped to CTRL.

I'm a vim and tmux guy, so that's my motivation.

[+] peedy|12 years ago|reply
If you are a vim guy, you are missing a lot by not remapping Capslock to Esc (system wide). I've even nnoremapped ; to : (from vimrc)
[+] peterarmstrong|12 years ago|reply
Just make it the Control key. Yeah, Emacs user. I assume if you use vi you'll remap it to Esc. Either way, you'll be happy.
[+] JohnTHaller|12 years ago|reply
I've gone back and forth in the past. I put together a series of .REG files for Windows users so you can either disable caps lock, map it to a shift key, map it to CTRL or swap it with CTRL. Since they're .REG keys, you don't need to have a utility running in the background. The .REG to set things back to normal is included, too:

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:

http://johnhaller.com/useful-stuff/billy-mays-caps-lock

[+] jrmg|12 years ago|reply
I think the responses to this poll will be quite self selecting, with 'yes' vastly overrepresented.
[+] DDR0|12 years ago|reply
At the moment, I am surprised by how even the votes are. (~10% more remappers.)
[+] sliverstorm|12 years ago|reply
I loved remapping Capslock to Ctrl, but eventually gave up the ghost because the statefulness of Capslock was getting confused and I was having a hell of a time keeping my virtual sessions and master client session "in sync"
[+] Nic0|12 years ago|reply
I'm using a TypeMatrix[1] keyboard, the Caps Lock key is not at the same place that usual keyboards. therefore I didn't remapped that key.

[1]: http://www.typematrix.com/

[+] lake99|12 years ago|reply
Using the Win key often on my Linux laptop gave me an achy left thumb.

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->AltGr
[+] vijucat|12 years ago|reply
I disabled Caps Lock so that by itself, it does nothing. I mapped CapsLock + hjkl to the arrow keys a la vim, and several other similar CapsLock + <something else> combos that make sense to me.
[+] bitsofpancake|12 years ago|reply
On my laptop, I remapped it to be the left click button, and it changed my life. I used to find dragging windows and files around and selecting text such a pain with a touchpad, but with this remapping, I can do it really, really easily. I just use my left hand to click and my right hand to move the cursor. Try it!

Anyone know how I can remap the Caps Lock key this way on a Mac?

[+] kbendyk|12 years ago|reply
As a Total Commander addict, I cannot believe some is still copying files using drag and drop, manually selecting files etc. There are some alternatives for a Mac as well.

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.

[+] javert|12 years ago|reply
I use it as the main part of all the chords I use to control window manager functionality under dwm. e.g. Caps+<J/K/H/L> to move between windows or workspaces, Caps+Enter to open a terminal, etc. Technically, I think I have it remapped to Ctrl, but that's just an implementation detail.
[+] thanatropism|12 years ago|reply
Yes, but not due to the traditional Control key positioning. Rather, I switch Tab for Caps Lock.

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.

[+] sls|12 years ago|reply
I wouldn't reply just to say that I map caps lock to control, like so many others. Perhaps a poll that gave the most common remappings, and let people specify more unusual ones in the comments, would gather more respondents for the common ones.
[+] ricree|12 years ago|reply
I have mine mapped to the compose key. Don't need it a ton, but it's nice to have it close by and convenient when I do.

Would probably have been better as esc or ctrl, but I didn't feel like having to relearn the muscle memory for those keys.

[+] Daviey|12 years ago|reply
My Esc key broke, so it seemed logical to make use of the otherwise unused Caps lock key. It works perfectly, and I've got quite used to it...

.. The problem is when I use a normal keyboard layout, and hit Caps lock in Vim and it doesn't DRT. :)

[+] andrewcooke|12 years ago|reply
NO BECAUSE IT'S USEFUL.

(also doesn't that little green light with no meaning bug you?)

[+] DArcMattr|12 years ago|reply
I shy away from keyboards that have an indicator light built into the CAPS LOCK key, so no, I don't have the problem of the indicator bugging me.
[+] lurkinggrue|12 years ago|reply
More than once this week that key has nearly killed me in minecraft.
[+] blissofbeing|12 years ago|reply
Yes, to backspace, and I recommend everyone do the same. Think about how many times a day you hit backspace, it makes no sense for it to be way up there on a pinky, move it to your home row and be happy! :)