I’ve used a US-QWERTY keyboard layout my entire life. I’ve seen other layouts that do things like reduce the size of the enter/backspace keys, move the pipe operator (|) and can’t wrap my head around how I would code on those.

What are your experiences? Are there any layouts that you prefer for coding over US English? Are there any symbols that you have a hard time reaching ($ for example)?

  • A lot of us don’t live in the US to begin with, so I assume a significant portion of us just use whatever the local standard is. That’s where I’ve been at so far, the Brazilian layout is a QWERTY variant so not that different. It does make some things more awkward, but you get used to what you have to work with.

    Brackets and curly braces are less convenient off the top of my head, backticks too. Vim is a tad less ergonomic without some extra fiddling, for instance. In fact, I’ve been considering getting a US keyboard for coding to make that kinda thing less of an issue, US international makes accents and whatnot accessible enough that I think I could make it work.

    •  Turun   ( @Turun@feddit.de ) 
      link
      fedilink
      4
      edit-2
      5 months ago

      If you’re cheap like me, just change the keyboard layout on the software side and instead of looking at the now incorrect key caps, look at the American keyboard layout image on Wikipedia instead. It doesn’t take long to relearn the few differences. And the parentheses are more ergonomic on the us keyboard layout IMO.

      Edit: compared to the German layout. Brazilian looks ergonomic enough for programming without having to switch.

  • I program with the italian layout and i’s fine, the only annoyances are that to use the slash you need to use shift, all while the backslash has a dedicated key; also you need to use alt codes to type a tilde.

      • After a while it becomes muscle memory; the good thing is that you can see if someone is a programmer/linux user because the key for the numer 7 is more worn out than most of the others

    • Same. Forward slash always annoys me. It’s in the middle of the keyboard, so you have to either 1. make a very uncomfortable move with your right hand, or 2. make an uncomfortable move with your right hand, or 3. use both your hands, which sucks.

      Luckily I’m using linux, so I have tilde and backtick (`) as AltGr+’ and AltGr+ì, which are pretty easy to type.

      • Just a thing for making it more sufferable; i remember that there was a program for linux called xkeycaps to edit keyboard layouts; so you could swap the backslash with the normal one. I used it so long ago that I’m not even sure if it still available and working though

  • Swedish layout. Not ideal for coding (too many things like curly and square brackets etc are under altgr. And tilde and backtick are on dead keys.

    But switching back and forth as soon as you need to write Swedish (for the letters åäö) is just too much work. And yes, in the Swedish alphabet they are separate letters, not aao with diacretics.

  • my keyboard looks like this… so… no?

    and honestly it’s so much nicer to program with a small keyboard. everything is exactly where you need it to be. I don’t ever have to reach for a key, as they’re all right there. And I can make them do literally anything I want. So many benefits of a small keyboard over a full size.

      • I’m not sure how far down the keyboard rabbit hole you are, so I’ll try and assume as little possible.

        Generally keyboards like the one pictured are referred to as split keyboards. This one in particular looks like a Corne.

        Most vendors sell split keyboards as kits that you’re expected to assemble yourself. This might require soldering and potentially sourcing certain parts (e.g. switches or keycaps) from other vendors. If you aren’t up for that kind of thing and you have the budget for it, some vendors sell pre-built keyboards. Buying a second-hand split keyboard is another alternative.

        As for switches, MX and Choc v1 are the most commonly supported switch types. There are dozens of variants of said switch types; the main differences being the force curves and sound profiles.

        The particular switches that are available will depend on who you end up buying from. Some keyboards support hotswap sockets, which allow you to quickly swap out different switches of the same type (i.e. MX or Choc). Otherwise you’re stuck soldering your switches onto the board, and if you aren’t satisfied with the switches that are already on the board, you’ll have to desolder them, learn to start liking them or buy a new keyboard. Whichever’s easier.

      • It’s a crkbd also known as a corne, like the other person said. There’s hundreds of types of switches available, the keyboard in the picture has Khail Box Jades and Khail Box Royals.

        The style of keyboard is a split ergomechanical keyboard. The size is 36% or 40% depending on what generation of keyboard nerd you are.

    • Thanks so much for this! I used to use a DE-ISO Layout with my old (first) keyboard, have now switched to ANSI with my first custom-mechanical keyboard and missed the special characters. This fixes everything, so thanks again :)

  •  0xCAFe   ( @0xCAFE@feddit.de ) 
    link
    fedilink
    English
    75 months ago

    I use a variant of the Neo-Layout called Bone. It’s an ergonomic layout optimized for German and English text. The base layer is already different (see the linked page), but I also really like it for programming, since there’s an entire layer with easily accessible symbols:

    Bone layout layer 3 with symbols