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

On a related note: has anyone used a good tool for using/inserting these kinds of custom snippets? It would be neat to have a snippet manager with quick search bound to a keypress.



I made my own with search and autocomplete, it works for me and I have it on GitHub, but it's pretty specific to my workflow and there are so many different options in this thread (a lot of which are probably better).

I also liked the idea here to prefix all your scripts https://news.ycombinator.com/item?id=31846902 and would personally recommend using fish or zsh with the improvements from ohmyzsh for autocomplete and hints.


I use https://www.alfredapp.com/help/features/snippets/

Combined with https://www.alfredapp.com/help/features/clipboard/ you get great productivity, especially when working on sys admin terminal kind of stuff


Make sure to create a cheatsheet for how to use your cheatsheet manager.


Honestly I just store them as files (bash scripts if you will), make them executable, chuck ~/scripts into $PATH

Bonus: it's all stored in a git repo

I do kinda live on the command line, ymmv


On Linux, you can make your own very quickly using Rofi and a clipboard manager.


I just maintain one big org-mode file and check it into git.




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

Search: