I've been using this for about a year now - I parsed 6 months of my messages on slack and found the most common phrases I use and generated keyboard shortcuts for them.
Also the most surprising part of doing this was seeing that abbreviating super short words like "the" -> "t" actually saves far more characters overall than abbreviating long words and phrases that are less common, like "what do you think" -> "wdytk".
It would be interesting to see how much time you save.
I guess average typists will type "the" much faster than a complex word. Through muscle memory. I think it will be less noticeable for fast typists, who get their speed by being consistently fast.
I thought a bit about this... I feel like for me most of my slowdown comes from needing to get timing correct between my right and left hand. When I go too fast I start to get the letters in the wrong order, which isn't as much of a risk for letters all coming from the same hand (for me at least shrug)
I might go look for some research on typing times for different kinds of words beyond letter count!
I think you'd dig Ikcelaks Magic Sturdy layout, which has a dedicated Adaptive Key (ie. morphing based on your last keypress, while fitting in with the overall layout by keeping finger usage and comfortable motions in mind). I mention it here because it expands to "the" if your last "letter" was space.
I did something similar on Mac, but completely manually. I'm using Espanso now, but I suffix every shortcut with an ";" character which causes the expansion. Since it's home row, it's incredibly easy to actually type it right after typing some letters, making it ideal, cause then I can use whatever shortcuts I want and very rarely have collisions. I do think this automated generation of suggestions is a great idea, and I it made me realize I hadn't thought enough about the amount of times I type something vs. how big the word is. Since I have an extra letter, I don't want to do this for very very short words, but possibly something I type a lot is still worth it even if it's very short. I tend to use it for semi-long words that I have a hard time typing for whatever reason. Anyways, very cool, I'll probably be running this script sometime soon to get a list of suggestions, then converting them into Espanso scripts!
r and f are usually pressed with the left index finger, which would have to move between keypresses. With r0, your right hand could align to press the 0 while the r is being pressed, saving time.
Solution: press both keys with a single "rolling" motion of one finger. I don't do that very often while typing, but when playing some games I'll hold down shift with the tip of my pinky and tap ctrl at the same time by flexing the middle of my pinky downwards.
I don't do anything remotely this elaborate, for me it's a couple phrases to bring up the URLs of public discord servers I have to link to frequently. But for this, I use Autohotkey in Windows. It works really well.
I have this with yasnippet in emacs. It's more than just simple expansion too. It expands to a skeleton to fill in the blanks, so f expands to a function definition and then allows you to put in parameters, return type, then body or whatever makes sense in the current language.
Comments (313) 91 threads
Earlier commentsI guess average typists will type "the" much faster than a complex word. Through muscle memory. I think it will be less noticeable for fast typists, who get their speed by being consistently fast.
I might go look for some research on typing times for different kinds of words beyond letter count!
https://github.com/Ikcelaks/keyboard_layouts/blob/main/magic...
I did something similar on Mac, but completely manually. I'm using Espanso now, but I suffix every shortcut with an ";" character which causes the expansion. Since it's home row, it's incredibly easy to actually type it right after typing some letters, making it ideal, cause then I can use whatever shortcuts I want and very rarely have collisions.
I do think this automated generation of suggestions is a great idea, and I it made me realize I hadn't thought enough about the amount of times I type something vs. how big the word is. Since I have an extra letter, I don't want to do this for very very short words, but possibly something I type a lot is still worth it even if it's very short. I tend to use it for semi-long words that I have a hard time typing for whatever reason.
Anyways, very cool, I'll probably be running this script sometime soon to get a list of suggestions, then converting them into Espanso scripts!
Continue this thread — 1 reply
I created an EasyScript translator for GPT-4: https://gist.github.com/boticello/1ea9c7105e5c369ea937158411...
As others have commented, this is not the most efficient or practical approach, but for me it was an experiment which worked.
http://www.easyscript.com/
[0] https://cassyjanek.webs.com/comparealphashorthands.htm
All comments shown.
Couldn't load more comments. Check your connection and try again.