3 ms·
I use a Czech keyboard layout on my Mac, because Czech has some letters that don't exist on a US keyboard, and I don't like switching between layouts. So basica
by Toutouxc 4y ago
I use a Czech keyboard layout on my Mac, because Czech has some letters that don't exist on a US keyboard, and I don't like switching between layouts. So basically all "programming" characters (braces, brackets, parentheses, apostrophes, quotation marks, pipes, colons) are behind modifiers.
I would totally enjoy being able to tell my IDE to "call foo with bar and string hello there end string with a block of gee times two" or something, instead of:
foo(:bar, "Hello there") { |gee| gee * 2 }
Just that, not having to think about typing different symbols would be a serious quality of life feature for me.
- _wolfie_ 4y agoMy solution is just not to use czech characters, seems to work well so far :D
- xeeeeeeeeeeenu 4y ago>So basically all "programming" characters (braces, brackets, parentheses, apostrophes, quotation marks, pipes, colons) are behind modifiers. Poland ditched a similar QWERTZ-based layout in favour of this: https://pl.wikipedia.org/wiki/Plik:Polish_programmer%27s_layout.PNG https://pl.wikipedia.org/wiki/Plik:Polish_programmer%27s_lay... It's basically the standard US layout but the right alt (AltGr) is a modifier. So, for example, AltGr+A gives "ą". I don't see why something similar can't be done for the Czech alphabet.
- Toutouxc 4y ago> I don't see why something similar can't be done for the Czech alphabet. It probably could — we already can't fit all the letters with diacritics on the number row, so "ď, ť, ň, ó" are key combos. But as far as I know, Czech uses diacritics a bit more than Polish (e.g. for sounds that are digraphs in Polish), consider: "Že se nestydÍŠ, nutit lidi psÁt ČeskÉ speciÁlnÍ znaky pomocÍ dvojhmatŮ!" — that's 10 modifiers just for the diacritics. Having ALL diacritics as modifier combos would make typing actual texts even more annoying than programming is now.
- xigoi 4y agoHave you tried the UCW layout? English-like keyboard, but with a bonus modifier key that produces Czech (and other) letters. I use it and it's so much better than the traditional Czech layout.