Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is really cool!

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!



if you write a script to generate the Espanso scripts I'd love a PR!


Haha I was going to do this manually but I just might turn it into a script.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: