snippetpixie(1)
๐ NAME ๐
snippetpixie โ Your little expandable text snippet helper. This is the snippetpixie(1) page from the General Commands Manual, and it is literally giving โsave your go-to text so it comes back when you need itโ main character energy. ๐
โจ DESCRIPTION โจ
Okay so bestie: you save your often used text snippets, and then they expand whenever you type their abbreviation. No cap, itโs that simple.
For example:
"spr`" expands to "Snippet Pixie rules!"
Slay. ๐ฆ
๐ธ SYNOPSIS ๐ธ
com.github.bytepixie.snippetpixie [--show]
com.github.bytepixie.snippetpixie --search-and-paste
com.github.bytepixie.snippetpixie --start
com.github.bytepixie.snippetpixie --stop
com.github.bytepixie.snippetpixie --autostart={on|off|status}
com.github.bytepixie.snippetpixie --status
com.github.bytepixie.snippetpixie -e|--export filename
com.github.bytepixie.snippetpixie -i|--import filename [--force]
com.github.bytepixie.snippetpixie --version
com.github.bytepixie.snippetpixie -h|--help
๐ OPTIONS ๐
--showโ Show Snippet Pixieโs window. This is the default action, periodt.--search-and-pasteโ Show Snippet Pixieโs quick search and paste window. A default shortcut of Ctrl+` for using the search and replace window is installed on first run. You should change this to your preferred shortcut via Snippet Pixieโs preferences menu or your operating systemโs settings UI or files.--startโ Start with no window. Lowkey stealth mode.--stopโ Fully quit the application, including the background process. Not just the window, bestie โ the whole thing.--autostart={on|off|status}โ Turn auto start of Snippet Pixie on login, on, off, or show status of setting.--statusโ Shows status of the application, exits with status0if running,1if not. Iconic exit-code behavior fr fr.-e, --export=filenameโ Export snippets to file.-i, --import=filenameโ Import snippets from file, skips snippets where abbreviation already exists.--forceโ If used in conjunction with import, existing snippets with same abbreviation are updated.--versionโ Display version number.-h, --helpโ Display help.
๐ง NOTES ๐ง
Abbreviations should be short, easy to remember and hard to trigger accidentally. Thatโs the vibe check.
It helps if an abbreviation includes either a key word from the fully expanded text, or an initialization or acronym that is part of it.
For example, if you regularly wrote โSnippet Pixieโ ๐ you might use โspโ.
However, there are a lot of words that include the letter combination โspโ (see https://www.wordfind.com/contains/sp/), so thereโs a reasonably high chance that Snippet Pixie would expand that abbreviation when you didnโt want it to. Not me getting betrayed by two little letters. ๐ญ
So instead itโs common to add a โtrigger characterโ to the end of the abbreviation. This is commonly a character that isnโt found in normal sentences such as </kbd> or ~` that is easy to find on your keyboard. Often just appending a space is enough, or doubling up characters.
I personally use </kbd> (commonly known as grav or backtick) a lot as itโs a single keystroke on my British layout keyboard just below my Escape key. So for me <kbd>sp is a natural abbreviation for โSnippet Pixieโ.
However, I could see using "sp " or "spp" for the abbreviation.
If you do use a trailing space as your trigger character you might find it useful to include a trailing space in the text that is expanded, e.g. "sp " expands to "Snippet Pixie " as itโs more natural when typing.
๐ LIMITATIONS ๐
- Auto-expansion only works on accessible applications, use the shortcut to open the search and paste window for other applications such as browsers and Electron based apps.
- Auto-expansion does not work in terminals, but the shortcut method works with terminals that accept
Ctrl+vfor paste such as the elementary OS terminal. - The cursor placeholder is not supported when using the shortcut method rather than auto-expansion.
Okay but for real, these limitations are important โ especially the terminal one. Donโt come for Snippet Pixie when auto-expansion dips in terminals. ๐
๐ซถ SEE ALSO ๐ซถ
๐ AUTHORS ๐
Created and maintained by Ian Jones <ian@ianmjones.com>, supported by Byte Pixie Limited <hello@bytepixie.com> and other generous contributors of skills, time, and funds. Up to date sources can be found at https://github.com/bytepixie/snippetpixie, where bug reports and feature requests may also be submitted.
Source/version page: snippetpixie(1). Date: 2020-08-29. Stay iconic, bestie โ mwah ๐๐
๐ฆ where this page comes from
- nixos 26.05: snippetpixie 1.5.3
- nixpkgs unstable: snippetpixie 1.5.3
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms