7 ms·
This is cute but it refuses to actually think about the problem of keyboard layout design. Take the reductio the other way and you end up adding keys to create
by blululu 5y ago
This is cute but it refuses to actually think about the problem of keyboard layout design. Take the reductio the other way and you end up adding keys to create a keyboard with a key for “the” and one for “and”, “or”, “but”, “of”... The author is just saying they want the QWERTY keyboard exactly as it is without actually thinking how this layout got there in the first place.
The Caps Lock key makes no sense in the context of a computer keyboard. Back in the days of typewriters when everything was a single monospaced font, typing in all caps was the only way to make something bold (there weren’t italics, bold, font sizes or different fonts). Having a convenient way to hold down the shift key was nice in this context. In the context of a computer keyboard that has multiple fonts, sizes and weights, it is a dumb key. Larry Tesler’s dictum “no modes” is immediately applicable. Steve Jobs tried to get rid of the caps lock key twice (once at Apple and once at Next). Google’s pixel books have replaced it with a search shortcut, which is not that useful but much better than having a key whose primary function is to mess up password entry and shout online without any extra effort for shouting. On a Mac keyboard there are a few common substitutions for caps lock that you can use. Any of these substitutions are preferable (I have it as Option for tab navigation but any of the other main hot keys make a better use of keyboard real estate).
- tsimionescu 5y agoCapsLock is extremely useful in programming, where CONSTANT_NAME is the most common convention for names of constants.
- electroly 5y agoHolding down shift is not really a problem for constant names since you need it for the underscores anyway. You can type CONSTANT_NAME without lifting the shift key but with caps lock you still need to use shift anyway.
- tsimionescu 5y agoYou can't "hold down" shift when writing CONSTANT_NAME if you're doing any kind of touch typing. You constantly have to switch between pressing left shift or right shift, so basically you're writing 13 key-combinations. With caps lock, you only need to use a key combination once (for _), instead of 13 times without.
- foxfluff 5y agoAny kind of touch typing allows ring finger to substitute for pinky when the latter is shift-locked.
- tsimionescu 5y agoSure, but it's definitely harder than using CapsLock.
- electroly 5y agoAny kind of touch typing? No, I don't agree with that. I can type 140+ wpm and don't look at the keyboard, and I can hold down shift while typing CONSTANT_NAME. Pinky on shift, remaining 9 fingers type CONSTANT_NAME. The pinky would not be involved with this particular constant even if it were free. The kind of touch typing you learned in school has a problem with this, maybe.
- tsimionescu 5y agoA is normally typed using the left pinky, so holding left shift will force you to use the left ring finger for it. To be fair, on some keyboards, including the one I use, it's easy to reach both the right and left shift keys, so it's easy to alternate shift keys as needed to avoid using other fingers or moving your hand from the home row.
- electroly 5y agoI guess it's important to note that I would use the right shift for this. I have the ability to choose on-the-fly rather than be forced into one or the other by a typing method that I learned in school. I could still do it with the left shift but it's not the one I would choose for this. It's probably fairly obvious what I think about the taught-at-school touch typing method. It's a decent middle-of-the-road option that's intended to be easy to teach and to work for most people in most situations; that's all.
- masklinn 5y agoWriting out constant names is a minor and rare event (even more so with any editor featuring autocompletion). This does not come close to “useful”, let alone extremely so. The value of capslock is that it provides an essentially blank key which can be remapped to something useful e.g. Ctrl, Esc, Meta, …
- tsimionescu 5y agoA good keyboard doesn't really need re-mapping, as the ctrl, esc and meta/alt keys are already readily available. You could argue for mapping caps lock to Super or Hyper if you're an emacs user maybe, but I for one never felt the need. Exactly as the article mentions, caps lock is a nice to have, though rare, key. Removing or remapping it will complicate your typing in those scenarios for sure. if you find a better use for that space where it simplifies other more common scenarios, great. But just removing it would be idiotic.
- masklinn 5y ago> A good keyboard doesn't really need re-mapping, as the ctrl, esc and meta/alt keys are already readily available. They’re not, unless by “good keyboard” you mean “custom layout”. On all the keyboards I’ve ever known, the almost entirely useless capslock takes one of the more valuable places on the keyboard just left of the home row. It’s the modifier key which requires the least movement by far, yet with a native function which is almost entirely worthless. I’d like to see your hypothetical keyboard where control (to say nothing of esc) is anywhere near as easy to reach, despite both being used significantly more than caps, and caps being trivially and fully dispensable with unless your days are spent writing SQL with all keywords in all caps. > You could argue for mapping caps lock to Super or Hyper if you're an emacs user maybe No, you really could not, unless you’re part of the minority which flies with fully custom keybindings. But even then control is such a central modifier of emacs that making it more accessible and require less contorsion tends to yield the highest bang for your buck. You could always remap the old control to super or hyper instead of having two control keys I guess.
- 5y ago
- bdowling 5y agoOr in vim you type `constant_name`, followed by `Esc gUb`. ('g' go, 'U' uppercase, 'b' back one word.)
- tsimionescu 5y agoThat's still 3 extra key strokes, including a key combination, to go from writing the constant name back to writing the next word (with caps lock: caps lock, constant_name, caps lock; without caps lock: constant_name, Esc, g, shift+u, b, i - you also need w, i to get back to the end of CONSTANT_NAME and keep typing). Also, switching mode, applying a command, then switching mode again versus pressing a key for uppercase and pressing it again for lowercase is a much bigger distraction from my point of view (emacs user) but maybe you actually get used to that using vim.
- rgoulter 5y ago> versus pressing a key for uppercase and pressing it again for lowercase FWIW, "Caps Lock" is modal. e.g. the Wikipedia page lists "Caps Lock" as a common example of mode errors. https://en.wikipedia.org/wiki/Mode_(user_interface)#Mode_errors https://en.wikipedia.org/wiki/Mode_(user_interface)#Mode_err... (No vim = not worrying about insert/normal mode; no capslock = no worrying about if tapping 'a' gives 'A' or 'a').
- tsimionescu 5y agoTrue, but at least to me switching between CAPS MODE and lowercase mode is less distracting than switching between editing and command/visual modes.
- wizardofdos 5y agoAs common as it is wrong. Why is the constant screaming at me? Why is the fact that it's a constant important enough to be encoded in the styling of the letters, but not important enough to be encoded in the name. Why isn't the IDE or the compiler keeping track of the constantness of the variable and reminding me to not do the wrong thing? If they can and are, why am I not trusting them? And if they can't, why am I writing in a language that doesn't even have JavaScript levels of a type system?
- MetaWhirledPeas 5y agoCaps lock is a dumb key. Left shift + right shift should put you into the mode, then any press of shift should take you out of it.
- xboxnolifes 5y agoI disagree. It is useful to maintain caps lock for typing but allow shift presses for keybind combinations. Having to re-enter caps lock after every shift combination would be annoying
- MetaWhirledPeas 5y agoI believe you, but what are you typing in all caps that requires key combinations???
- Hublium 5y agomany non-alphanumeric characters?
- Hublium 5y agoI recommend something like Super+C.
- bee_rider 5y agoThe idea of somebody slamming down both shift keys before getting into an internet yelling match is pretty hilarious. I think both caps lock and this ULTIMATE SHIFT idea are probably both not necessary, but I have to thank you for putting the funny image in my head.
- drran 5y ago«Caps Lock» key should be renamed to just «Lock». Lock+Shift will behave as Caps Lock, Lock+Tab may behave as Enable Automatic Autocompletion, Lock+Alt may behave as switch to alternate alphabet, etc.
- aidenn0 5y agoYou could do bold on an electric by over-striking with the same letters; with manuals you could over-strike while hitting the keys harder.
- _0w8t 5y agoGiven that even Apple not only keeps the Caps key, but also has it traditionally big, I suppose the market demands it. But then who are those people who uses it?
- thinkling 5y agoSome of us use it a lot because we remap it to be the meta key. grin
- masklinn 5y agoOr Ctrl. Props to Apple, which in 2022 still provides an easy option to remap caps more or less straight in the keyboard configuration. And actually provides that even on iOS (which I was stoked to discover), though the remapping options are limited. And boo to microsoft, the only significant OS where that’s not a native option, you need the powertoys and in my experience it’s quite unreliable: regularly capslock will revert and you have to go into the ‘toys and flip it off and on again. I’ve never looked but I guess it’s some sort of registry setting which every update resets, without the ‘toys being aware of the info?
- cerved 5y agoThat's why I remap pause to caps lock. It's unfortunate. At least it works for things running as admin now
- d21d3q 5y agoI met two persons who were using caps lock instead of shift during regular typing - for each capital letter: CL, some letter, CL.
- BenjiWiebe 5y agoAssuming they were on Windows, someone should teach them about Sticky Keys. You press shift once and then the next key you press is capitalized (or a symbol or whatever).
- 5y ago
- grishka 5y ago> typing in all caps was the only way to make something bold Thinking of it, with modern messaging apps that support text formatting, it would be useful to have dedicated caps-lock-style keys for bold, italic, monospace, etc.
- vander_elst 5y agoThe caps lock key as a key is essential, once remapped to something else. As a vim user, once remapped to Esc, everything makes much more sense, as your keyboard gets closer to the original keyboard on top of which vi was created https://images.app.goo.gl/wZkyxFosFF4jCRCJ8 https://images.app.goo.gl/wZkyxFosFF4jCRCJ8
- ntr-- 5y agofascinating! i always wondered why soft-BOL is set to such a difficult key to press (^) when it's such a useful movement.
- Cthulhu_ 5y agoBut it's not necessarily a caps lock key, but an extra function key more easily accessible. There's quite a few keyboard designs out there that have button clusters for thumbs, so that you can use your thumbs for more than just pressing space.
- aasasd 5y agoIn the same vein: I discovered the pleasure of the major modifier being under the thumb on MacOS, triply astounding on the MS Natural 4000 keyboard with its huge alt keys (they map to ‘command’ on Mac due to the position). And then I learned that Emacs was made for keyboards where the ‘control’ keys are under the thumbs.
- maximus-decimus 5y agoI have an Ergodox EZ keyboard (which is programmable using QMK, or Oryx which is a wrapper around QMK) and I set caps lock to esc on tap but ctrl on hold. QMK supports as much as 4 different behaviors per key: - tap - hold - tap-hold - double tap And you can also set keys to change the layer each with their own behavior for caps lock.
- cerved 5y agoCaps lock? oh, you mean ctrl!
- DocTomoe 5y ago> The Caps Lock key makes no sense in the context of a computer keyboard. Remapped to <Compose>, the Caps-Lock key is essential for someone who writes in many different languages. Removing it would not make me very happy. That being said: I'd love someone to build a modern, USB/Bluetooth-enabled variant of the old Space-Cadet keyboard [1]. Would pay good money for it, too. [1] https://en.wikipedia.org/wiki/Space-cadet_keyboard https://en.wikipedia.org/wiki/Space-cadet_keyboard
- grujicd 5y agoI'm sure many users don't use Home/End/PgUp/PgDown, since these keys are the first to go on majority of nowadays laptops. Even if there is plenty of space. And yet, I use these keys all the time. When I'm considering a laptop that's the first thing I check. Am I in a tiny minority?
- IYasha 5y agoI had really hard time choosing laptop based on availability of those keys!! I really don't know how those thin mac users live... wait, isn't this (once again) one of those Apple's "minimalism" trends? I think so.
- niek_pas 5y agoOn my 2015 MacBook Pro, ⌘+[arrow keys] are respectively mapped to home/end/PgUp/PgDn. That's how I live. In fact I find this interface easier to use than the discrete home/end/PgUp/PgDn keys on my external keyboard, since I have to look at the keyboard to find those as they're not near the home row.
- grujicd 5y agoIf you’re old time desktop user you wouldn’t have to look for these keys, they’re at the same place for decades. Heck, I even don’t know which combination I’m pressing to go to the begining of page or line, that’s muscle memory at this point. That said, I acknowledge that you have your own prefered way, and that’s how it should be. As it also should be that these extra keys exist at least on bigger laptops, if not on ultraportables.
- 0x004C 5y agoI remember using a laptop with Home/End/PgUp/PgDown on Fn + arrow keys. Using those felt very natural. I wish it was more common so I could have the same on my desktop keyboard.
- grujicd 5y ago