Repository navigation
en Snippets Clipboard and Utilities
Lumen bundles everyday desktop utilities directly into the same fast bar—zero extra plugins or background bloat.
Store daily report templates, email signatures, canned replies, and CLI/SQL templates in a dedicated permanent store that is never evicted by clipboard history limits or clears.
- Open Settings → Snippets and add a Title, short Alias (e.g.,
standup,sig,addr), and Body (up to32 KiBper snippet). - You can also promote any item from Clipboard History (
cb) via⌘K/Ctrl+K→ Save as Snippet…. - Enable Pin to Empty Bar on top snippets so they appear immediately whenever you summon Lumen.
- Avoid reserved command verbs as aliases (
qa,tr,translate,img,cb,clip,win).
Preview expanded output live in the right pane as you type:
| Variable | Example Expansion | Description |
|---|---|---|
{{date}} |
2026-12-04 |
Current date (yyyy-MM-dd) |
{{time}} |
15:30 |
Current time (HH:mm) |
{{datetime}} |
2026-12-04 15:30 |
Current date and time |
{{clipboard}} |
Current plain-text clipboard | Inserts current clipboard text (capped at 16 KiB), expanded once without recursion |
Example Snippet (alias standup):
[Daily Update · {{date}}]
- Done:
- Next:
- Context: {{clipboard}}
- Type the alias (
standup) or title in the main bar, then press↩to expand and paste into your frontmost app (on Windows, pressShift+↩to copy without pasting). -
macOS:
~/Library/Application Support/Lumen/Snippets/snippets.json(0700/0600atomic writes) -
Windows:
%LOCALAPPDATA%\Lumen\Snippets\snippets.json(or<exe_dir>\data\Snippets\snippets.jsonin portable mode, user-exclusive DACL)
Local clipboard history is off by default. Turn it on under Settings → General → Clipboard History, pick your retention cap (macOS: 50 / 100 / 200 / 500; Windows: 20–1000, default 200), or clear everything in one click.
- Open with
cborclip, or filter directly withcb invoice. - Supports text, images, and copied file lists (Windows generates local image thumbnails for visual browsing in both the list and preview pane).
-
Shortcuts:
-
↩: Paste / copy the selected item -
Space: Preview images or non-text items -
⌘K(macOS) /Ctrl+K(Windows) or⇧↩(macOS): Open item actions (copy, paste, save as snippet, delete); on WindowsShift+↩copies without pasting
-
- Privacy: Automatically ignores concealed/transient clipboard entries from password managers.
Type directly into the main bar and press ↩ to copy the result:
- Supports
+,-,*(×),/(÷),^,%, parentheses, unary+/-, thousands separators, and an optional leading=. - Examples:
(1280 + 450) * 1.13,2^16,=1999 * 0.85.
Uses to or in (plus Chinese connectors):
-
Length:
km,m,cm,mm,mi,ft,in(5 km to mi,180 cm to ft) -
Mass:
kg,g,mg,lb,oz(70 kg to lb) -
Volume:
L,mL,gal(2 gal to L) -
Time:
s,min,h(2.5 h to min) -
Temperature:
°C,°F,K(37 C to F)
-
Examples:
$100 to cny,50 eur in usd,¥5000 to usd,100 gbp to jpy - 31 Built-In Currencies: USD, CNY, HKD, TWD, MOP, JPY, EUR, GBP, KRW, SGD, AUD, CAD, CHF, NZD, INR, THB, MYR, VND, PHP, IDR, RUB, BRL, MXN, SEK, NOK, DKK, PLN, TRY, ZAR, AED, SAR.
- Offline-first: Uses built-in fallback rates refreshed once daily in the background (respecting system proxy settings)—never making per-keystroke network requests.
-
Bare-word lookup: Type any standalone word (no spaces or math operators, e.g.
ephemeral) to display a concise inline definition below direct file/app matches; press↩to open the full definition card and copy. Typing a space immediately resumes normal multi-word search. -
Explicit prefixes:
define <word>(Windows also acceptsdict <word>). -
Backends: macOS uses native System Dictionary (
DCSCopyTextDefinition); Windows uses a zero-disk-I/O embedded offline EN↔ZH and technical dictionary.
Enable Browser Bookmarks under Settings → General → Search Sources to search local bookmarks incrementally by mtime (never hydrating cloud files). Press ↩ to open or ⌘K / Ctrl+K to copy the URL.
- macOS: Chrome, Chrome Canary, Edge, Brave, Arc, Vivaldi, Dia, Safari
- Windows: Chrome, Chrome Canary, Edge, Brave, Vivaldi, Arc (Desktop & Store), Firefox
Under Settings → General → Search Sources & Currency, these remain disabled by default with zero unsolicited TCC prompts:
- Contacts: Search contacts and copy phone numbers or emails.
- Calendar: View upcoming events and 1-click join meeting links.
- Reminders: View reminders and mark them complete directly from Lumen.
Type the action name in the main bar:
-
Both platforms:
Lock Screen,Sleep,Empty Trash / Recycle Bin(with confirmation),Mute Audio/Unmute Audio,Settings. -
macOS extras:
Toggle Dark Mode,Eject External Volume, plus 14 direct System Settings panels (Wi-Fi, Bluetooth, Network, Displays, Sound, Keyboard, Trackpad, Notifications, Appearance, Privacy & Security, Accessibility, Software Update, Storage).
Next Guide: Adaptive Window Tiling (win), Quicklinks & Local Scripts →
Lumen v0.9.0 · Wiki 首页 / Home · Releases · README (中文) · README (EN) · Discussions · 开源许可 MIT
- 1. 快速安装与 1 分钟上手
- 2. 全盘检索、拼音与目录作用域
- 3. 统一预览与 Windows QuickLook
- 4. 文件弹窗秒切与划词直通
- 5. 翻译、问答与本地 AI 搜图
- 6. 常用短语、剪贴板与效率套件
- 7. 智能分屏、快捷链接与脚本
- 8. 索引范围、外置盘与隐私安全
- 9. 快捷键与命令速查表
- 10. 常见问题与 CLI 进阶
- 1. Installation & Quick Start
- 2. Search Syntax & Folder Scope
- 3. Previews & Explorer QuickLook
- 4. Quick Switch & Selection Flow
- 5. Translation, Q&A & Local AI
- 6. Snippets, Clipboard & Utilities
- 7. Window Tiling, Quicklinks & Scripts
- 8. Indexing, Volumes & Privacy
- 9. Shortcuts, Commands & Parity
- 10. FAQ, Troubleshooting & CLI