Lurker News
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.

Comments (313) 91 threads

Earlier comments
Nowado#
I was thinking about similar solution (actually, textblaze funded by YC is pretty much that) but I didn't like remembering the shortcuts part. So I made a different kind of indexing for it: https://discu.space/ Presentation uses 'what are you answering to' as a key, but you can use anything.

It currently exists as (hopefully working for everyone, could use more testing) Chrome extension, but there's a universal API underneath. It could be run entirely locally if one was to give up portability.

ideasman42#
The down side of this is you have to remember them, for some time now I've been writing with n-gram auto-completion based on a large body of text (including code-comments for projects I work on), see https://codeberg.org/ideasman42/emacs-mono-complete

I have it configured to be enabled when typing in code-comments or commit logs & it often gives helpful suggestions.

porridgeraisin3 replies#
I prefer an autocomplete mobile like experience for most typing. I use autohotkey to have global autocomplete for English, anywhere in any app i type it gives me options in a little tabbable box immediately. I disable it for vscode usually except when I'm typing markdown I manually enable it. I love it.

Beyond this I use ahk's hotstrings feature to have "snippets". I separate them by topic and activate them as and when they're required. For example I have one for css which has things like

  display: flex;
  justify-content: center;
  align-items: center;
bound to a single hotstring.

I know I can use vscode snippets but I prefer this.
I also have global hotstrings for say my emails, address, etc,. Unencrypted in my home directory. I don't care too much but you might.
The coolest one is a password manager that lets you use your username/email on any website as the password.
You just press a hotkey and are prompted to enter the secure master password. Once you do that, it decrypts your passwords and activates the hotstrings required to convert usernames to their respective passwords. When you press enter and submit the form it kills it. This is only one of the variations I have. The previous one had me enter the master password in the form itself, and it'll read the context of the browser itself get the URL from there and automatically replace the correct password. I stopped using this as it became unwieldy once I had to have multiple Gmail accounts for example.

planbattack#
>I use autohotkey to have global autocomplete for English, anywhere in any app i type it gives me options in a little tabbable box immediately.

Is the script you use publicly available somewhere?

brimwats#
I would also be really interested in your AHK script!
dplgk#
Are you on Mac? I could not find any way to get a hotkey for autocorrect and would love to know how!
HeavyStorm#
Very interesting! I used to create some abbreviations in Office which saved me a lot of typing, but usually only for very simple words that I typed very frequently. Never occurred me that I could do sit for a few more words and even phrases.

But I'm wondering if I would be able to learn all these shortcuts. There would be a lot of time invested, and I don't know how stable a solution this is - ie will I be able to use it everyday for the next five years?
I'm betting on the capabilities of LLMs right now - I think they can predict a lot of my typing and save me enough time and, if msft is smart, they will soon enough be present everywhere.

Load more comments