4 ms·
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
by ripley12 4y ago
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.
- yowmamasita 4y agoRaycast has a code snippets plugin https://www.raycast.com/ https://www.raycast.com/ https://www.raycast.com/extensions/snippets/ https://www.raycast.com/extensions/snippets/
- afhammad 4y agoI use https://www.alfredapp.com/help/features/snippets/ https://www.alfredapp.com/help/features/snippets/ Combined with https://www.alfredapp.com/help/features/clipboard/ https://www.alfredapp.com/help/features/clipboard/ you get great productivity, especially when working on sys admin terminal kind of stuff
- HKH2 4y agoOn Linux, you can make your own very quickly using Rofi and a clipboard manager.
- wildmanx 4y agoMake sure to create a cheatsheet for how to use your cheatsheet manager.
- ww520 4y agoI just maintain one big org-mode file and check it into git.
- corobo 4y agoHonestly 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
- elesiuta 4y agoI 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 https://news.ycombinator.com/item?id=31846902 and would personally recommend using fish or zsh with the improvements from ohmyzsh for autocomplete and hints.