Hacker News new | ask | show | jobs
by shock 2078 days ago
If you're on Linux and want to do this look for ibus-typing-booster. I submitted it 6 days ago, but it didn't get much attention. Unlike the author's method of manually setting up shortcuts for the most used words, ibus-typing-booster learns your most frequent words and then it's just a matter of typing a few chars followed by space, which inserts the whole word.
3 comments

Nice! Another option is to create a ~/.XCompose¹, which only activates manually — you add your own custom abbreviations there, and they’re only expanded when you prefix them by tapping Compose².

¹https://wiki.debian.org/XCompose

²You can make this quite convenient with xcape:

  setxkbmap -option compose:sclk && xcape -e "Shift_L=Multi_key"
will make tapping (but not holding) left shift act as tapping Compose
Oh, and not that > ~⅖ people ±⅞ will read this but there’s also https://espanso.org/ which supports inserting script results; and quite a few other ‘text expanders’ and other tools that will do similar things https://alternativeto.net/software/espanso/?license=opensour...
Im using notepad++ and it has this feature auto enabled by default but at a document level. I find that sometimes it helps but other times it really gets in my way. How does it work out for you with ibus-...-...?
I haven't used it like the author describes, I've just been using for easy emoji autocompletion :)
Thank you for this, i was looking for something similar in Linux