Qwickly: Keyboard Layout
The objectively qwickest keyboard layout
TL;DR I made the easiest to learn and type keyboard layout. See Github for files.
During this 2020 coronavirus lockdown and work-from-home policy we find ourselves with extra time and energy needing a creative outlet. I happened to find myself in a discussion about alternative keyboard layouts with co-workers in a Google Hangouts Meet. One person had been using Dvorak with great success on an ErgoDox arrangement with the drawback that they haven't maintained QWERTY skills requiring intentional focus and shortcuts in apps or editors are exceptionally troublesome.
The weekend following that chat, I found myself on a website Dvorak Keyboard Training that let you practice without any system changes. I played on it for maybe 1-2 hours and got up to 15 wpm using only the home row keys. With the full alphabet I was only at 5 wpm. This was very discouraging. On top of that I would have to relearn shortcuts to several editors I commonly use and applications as well as Linux command-line which is muscle memory all its own. I gave up on Dvorak and sought out another.
I semi-randomly suggested an arbitrarily made up layout and got some great feedback/critiques of it on reddit/r/KeyboardLayouts. This put common letters on the home row and other keys close to original positions but wasn't particularly easy to learn nor optimized in any specific way.
Colemak is the alternative keyboard layout that tops current popularity and speed tests so I looked into it. It also offers to preserve some QWERTY shortcut key positions. "Only 2 keys move between hands. Many common shortcuts (including Ctrl+Z/X/C/V) remain the same." Other letters/shortcuts preserved are Q/W/A. Letters H/B/M also stay the same but are not common shortcut keys.
Tarmak are transitional layouts for learning Colemak in stages. There are 5 stages with the final stage being the Colemak layout itself. I had one look at the stages where each moves 3 (or 4) letters at a time into the Colemak positions. Some letters are put into temporary positions to be moved again in a later stage. In all 16 keys move including most of the frequently occurring ones. The learning curve did not seem much easier than Dvorak and only preserves a handful of shortcut key positions and the keys that move, move quite a distance so that it's not necessarily an easy adjustment.
I began to think, what if I don't care about absolute speed and give more consideration to ease of learning and shortcuts not moving as far or at all. I looked at the English letter frequency chart...a lot. My Aha! moment was preserving the finger actuation sequences for the most frequent letters. So step 1 is switching each of the top 8 most frequently occurring letters (ETARIONS) that are not on the home row positions with the key above/below that is on the home row.
Q W E R T Y U I O P [ ] \
A S D F G H J K L ; ' ⏎
⇧ Z X C V B N M , . / ⇧
Q W E R T Y U I O P [ ] \
A S D F G H J K L ; ' ⏎
⇧ Z X C V B N M , . / ⇧
Original QWERTY layout
Q W (D) R (F) Y U (K)(L)(;) [ ] \
A S (E)(T) G H (N)(I)(O)(P) ' ⏎
⇧ Z X C V B (J) M , . / ⇧
Q W (D) R (F) Y U (K)(L)(;) [ ] \
A S (E)(T) G H (N)(I)(O)(P) ' ⏎
⇧ Z X C V B (J) M , . / ⇧
Step 1: move frequently occurring letters into home positions
This actually worked out very nicely with only R (being beat out by T) not having a home place yet. P is not one of these highest frequency letters but occurs more than semi/colon so swap them too. We can clearly see that we 'vertically swapped' 6 pairs of keys keeping them on the same original fingers and only swapping the rows they're on.
I created this layout using Ukelele software by SIL for macOS. After using this for even less than an hour it was clearly on the right path as I was typing at about 15 wpm for the full alphabet using the same Learn Dvorak practice site. It was already superior to QWERTY as most times I missed a key my finger was already on the key I moved it away from and when not missing keys my fingers moved much less.
Having started down this road we now want to place the letter R that we didn't move in the first step. Since the R is moving from the left to right hand a letter from the right hand will also have to move to the left. After various trials generated from looking at the letter frequencies again and testing on SteveP99's keyboard analyzer, decided to move the letter U.
Q W <U>[D](F) Y [P](K)(L)(;) [ ] \
A S (E)(T) G H (N)(I)(O)<R> ' ⏎
⇧ Z X C V B (J) M , . / ⇧
Q W <U>[D](F) Y [P](K)(L)(;) [ ] \
A S (E)(T) G H (N)(I)(O)<R> ' ⏎
⇧ Z X C V B (J) M , . / ⇧
same as QWERTY ( ) same finger as QWERTY [ ] same hand as QWERTY < > different hand than QWERTY
At the same time the letter D was shifted over after having noticed two things: 1) bigrams DE and ED occur fairly often and typing them with the same finger is slower 2) having preserved muscle memory of the home row keys, typing DE or ED with the same finger as on QWERTY had an 'upside-down' awkwardness that was hard to shake off and slowing down typing and learning. This was also noticed with LO/OL.
I created this layout and used it for about a day and a half. It was surprisingly not frustrating to use, as each time I missed a key it was usually close by and quick to correct. I never felt the need to temporarily switch to QWERTY the whole time. Even stopping here seemed like a huge improvement over QWERTY.
Of course we want to follow this process to its logical conclusion. What other changes can be made to improve typing efficiency while keeping the main layout? I tried many small changes and examined the output from the keyboard analyzer and studied a bigram frequency matrix to look for sparse columns and rows, and which pair combos to avoid.
Q W <U>[D](F) K [L][P][Y](;) [ ] \
A S (E)(T) G H (N)(I)(O)<R> ' ⏎
⇧ Z X C V <J> <B> M , . / ⇧
Q W <U>[D](F) K [L][P][Y](;) [ ] \
A S (E)(T) G H (N)(I)(O)<R> ' ⏎
⇧ Z X C V <J> <B> M , . / ⇧
A fully optimized layout and its benchmark comparisons.
At first I was shocked and delighted at how well this turned out. I did not intend this to be close to Colemak--being about as good or better than Dvorak was my original target. Even though Qwickly (oh yeah, I gave it a name) scored higher than Colemak 9 to 8, Colemak has a bigger margin on several tests including Common and S.A.T. words which I take as important references.
I used this layout for maybe three days or so. I started to get suspicious that it was over-optimized falling into the trap of other layouts. I also followed up on other comments in the subreddit and found that an existing layout 'Niro' was very similar in goals, layout, and efficiency.
One thing that was learned while trying different permutations was that moving a key two fingers away rather than one was easier to learn in particular with the pinky and ring fingers. This is how the L/P/Y got sorted along with taking occurrence and bigram frequencies into account.
The K/J/B shuffle was the result of having made everything else smooth and close, the now relatively frequent reaching for B became very apparent. Switching hands for the letters J/B turned out to be hard to learn which speaks well for all the letters that didn't switch hands.
Q W <U> [D] (F) [K] [L] [P] [Y] (;) [ ] \
A S (E) (T) G H (N) (I) (O) <R> ' ⏎
⇧ Z X C V <J> <B> M , . / ⇧
Q W <U> [D] (F) [K] [L] [P] [Y] (;) [ ] \
A S (E) (T) G H (N) (I) (O) <R> ' ⏎
⇧ Z X C V <J> <B> M , . / ⇧
Qwickly - fully optimized for ease of learning and ergonomics
Performance/efficiency is close enough to the best to not matter to anyone but the most speed sensitive typists. For the goals of ease of learning and ergonomics the design is true.
In retrospect if a layout isn't preserving the home row finger actuation sequence ASET-GH-NIO then it's sacrificing ease of learning. If it doesn't have some permutation of ASET-NIOR in the home positions it's sacrificing efficiency. Moving infrequent keys for performance is an over-optimization.
As a datapoint, I have been typing on Qwickly for 2 weeks and already faster typing prose (50-60 wpm) than I was on QWERTY. I put in daily practice on keyhero.com and thepracticetest.com (shows slow/error letters). The comparison isn't really fair as I didn't touch-type before but the short time to get to this level stands. I still make many typos so that wpm should keep going up and soon occasionally bump a limit of thoughts not feeding fingers fast enough. Coding and especially command-line usage is still slower and will take more time.
This is the fully optimized layout that I have settled on using:
Q W U D P Z H Y L , [ ] \
A S E T G F N I R O ' ⏎
⇧ K X C V J B M ; . / ⇧
Q W U D P Z H Y L , [ ] \
A S E T G F N I R O ' ⏎
⇧ K X C V J B M ; . / ⇧
Installable layouts for macOS and Windows available on Github including the QwickSteps transitional layouts to learn from Qwerty.
Last updated