this post was submitted on 29 Jan 2024
120 points (87.5% liked)

Programming

26418 readers
57 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

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)?

(page 3) 50 comments
sorted by: hot top controversial new old
[–] ICastFist@programming.dev 2 points 2 years ago

ABNT2 here, this layout is necessary due to many brazilian portuguese words containing accents. Plus, having ç as a separate key is great. For coding, the \ | key is left to Z and the : ; key is near the right shift, with brackets and curly braces usually around Enter, while ' " is left to 1. It's very good for programming, I'd say.

[–] brunofin@lemm.ee 2 points 2 years ago

I used to use the Brazilian ABNT-2 layout, it's pretty much just a US layout with accent keys that activate like a second layer for some specific keys to display specific Portuguese language characters such as ç á à â ã é è etc. It's surprisingly ok for programming as it doesn't get in the way because you have special keys to activate the 2nd layer and most of them you need to spread shift + something in order to activate them. I'd say it's a good layout.

[–] dukatos@lemm.ee 1 points 2 years ago

I use US layout for programming because it is way better than SR latin. For documents and mails, I use both variants - latin and cyrillic.

[–] qevlarr@lemmy.world 1 points 2 years ago

ANSI all the way. I get irrationally angry about any other layout 😡

[–] nutsack@lemmy.world 1 points 2 years ago (3 children)

The British want a stupid as fuck they moved the tilde into a weird spot and you're basically can't do it

load more comments (3 replies)
[–] simonced@lemmy.one 1 points 2 years ago

Using the JIS layout. One thing I miss from ANSI is the single and double quotes on my right pinky.(on the same key) Other than that, JIS is a nice layout to do programing with.

[–] pkill@programming.dev 1 points 2 years ago

I'm using a sligntly modified Niro layou (in a way that makes it more ergonomic with vim). Though I might need to adjust it since lately I began feeling disproportionate strain on my right ring finger.

[–] NigelFrobisher@aussie.zone 1 points 2 years ago

I’m having to use US keyboard layout in Oz and not enjoying the half-height Return key very much.

[–] Blaberus_sp@lemm.ee 1 points 2 years ago

I'm using a Dygma Raise split keyboard with Dvorak as my main layer. The thumb clusters are great for putting difficult to reach keys in more comfortable positions. Second layer has NumPad, Directionals and Functions. Still trying to decide how to make the best use of my other layers.

[–] umbraroze@kbin.social 1 points 2 years ago* (last edited 2 years ago)

I'm using Finnish keyboard layout (same as Swedish basically).

I like how AltGr+7/8/9/0 gives me { [ ] }, it's a very nice grouping. The key next to Z is < > and you get | with AltGr, which is very handy.

Only thing that's mildy annoying from programming viewpoint is that for tilde and backtick, the keys do diacritics - you need to press the diacritic key and space. Backtick is especially fun, because it's shift+acute, space. Meanwhile, the key next to 1 does § ½, which aren't that handy most of the time. I often just stick backtick on that key if I'm particularly assed to customise keyboard keyouts. Similarly, shift+4 is ¤, which is another not a particularly useful character (but I don't mind that, because £ $ € all need to be produced with AltGr, which is at least consistent).

load more comments
view more: ‹ prev next ›