top | item 8295682

(no title)

TheZenPsycho | 11 years ago

What about ditching the caps-lock key and making it a "command" key, that you hold down to type in a command?

discuss

order

pcl|11 years ago

Note that on Mac and Windows, at least, you can trivially do this remapping. I do it on all my computers.

On a Mac, the keyboard preference pane in system prefs has a "modifier keys" section, which is bizarrely separately configurable for the built-in keyboard vs. a USB keyboard on their laptops. On Linux, the configuration is different for the VT vs. window managers.

duskwuff|11 years ago

It's configurable per-keyboard because not all keyboards have modifiers laid out the same way. Mac keyboards have the bottom row ordered Ctrl, Alt, Cmd; Windows keyboards are ordered as Ctrl, Win, Alt. So, if you're using a Windows USB keyboard on an Apple laptop, you'll often want to swap Cmd (= Win) and Alt on the USB keyboard, but leave them alone on the internal one.

icebraining|11 years ago

Typing ":%s/<complex regex>/<replacement>" while holding caps-lock would get old rather fast, in my opinion.

ben0x539|11 years ago

You'd really only need to hold it for the first character of any command, I guess. Though holding shift+capslock+; to write a capslock-: feels weird.