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
mtlynch3 replies#
This is neat!

I've thought about doing something similar with my shell history to help me figure out which shell aliases I should create.

KomoD2 replies#
> I've thought about doing something similar with my shell history to help me figure out which shell aliases I should create.

Same here, I end up doing `h | grep "(something about the command)` a lot to get commands with specific options, etc. and think "damn i should really make an alias for this" every single time, but never get around to it

ellieh1 reply#
You might like Atuin*! It fuzzy searches your shell history + optionally syncs it between machines

https://github.com/atuinsh/atuin
*: shameless plug, I’m one of the maintainers

KomoD1 reply#
Yeah wow, I do like that, I'll definitely use it a lot, the full-screen thing on "up" keeps taking me by surprise though

Ps. one of the links in the docs is dead, "see the supported shells" on the page https://atuin.sh/docs/commands/shell-completions

Continue this thread — 1 reply

eschluntz#
ooh love it! I also have a HUGE bash aliases file, but that's all manually constructed, not automatic. some favs:

cm = git commit -m st = git status inst = sudo apt get install -y fucking = sudo

fsckboy#
>figure out which shell aliases

I use shell functions for this type stuff, and I have it spit out the command line it's going to run with all the args (to stderr) and then running the command, and other sorts of programmatic touchup (tell me if i'm in the wrong directory, or whatever)
spitting out the command line it's going to run with all the args (to stderr) is a function too. shell functions can also do nice things like change the directory in my outside shell, set environment variables, etc.

edanm1 reply#
The problem with this is you need specialized hardware, you can't really use this on a standard Macbook, at least last time I checked.

Also, the learning curve and everything.

coldblues2 replies#
You don't need specialized hardware. You can use your regular keyboard. Although specialized hardware would be more ergonomic.
edanm#
As far as I remember, not a Mac keyboard.

Although I do have some better keyboards, and to be honest one of the reasons I got them was some vague idea of learning this at some point. It's just the time investment holding me back at this point, tbh.

yterdy#
I've tried using it on a regular keyboard. You need specialized hardware (starting at $100 if you don't want to solder the thing together yourself).
mckravchyk#
Cool! I thght t wld b bt at-xpndg vwls. I gs smth lk tht shld b psbl nw wth LLMs. smth wh y wldd jst rndml drp chrs t incrs spd nd it wld jst gs th rght wrd 99% f ttime bsd on ctx. Nt sr hw prctl t wld b thgh bt I thnk I cld qckl gt sdd t t.
h1fra#
Neat! Reminds me of stenography keyboards

Load more comments