Repository navigation
en Search and Scope
Lumen is powered by a custom shared Rust in-memory index (completely independent of macOS Spotlight mds and Windows Search). It keeps ~1 ms query latency across 1.67M+ real files while supporting multi-keyword queries, Chinese pinyin/initials, path+filename collaborative ranking, and multi-level folder scoping.
Just open Lumen and start typing—no boilerplate prefixes required:
| Example Query | What It Matches |
|---|---|
Q4 plan review |
Multi-word AND match in any order |
xiangmu / xm
|
Built-in Chinese full pinyin and initials (with polyphone overrides for common names like 成都/重庆/厦门/银行/音乐) |
vsc / ps / wx / am
|
Auto-generated camelCase/word initials and built-in app aliases (VS Code, Photoshop, WeChat, Activity Monitor) |
lumen social-preview.png |
Path + Filename ranking: combining parent folder terms with a filename ranks exact file hits cleanly above body-text snippets, breaking ties by recency |
Q4 report pdf |
Trailing common extensions act as real extension filters automatically when paired with at least one search word |
"exact phrase" |
ASCII " or smart quotes “” trigger exact phrase matching, bypassing operator parsing and semantic expansion |
| Operator | Matches |
|---|---|
kind:doc |
Documents (PDF, Office, Markdown, plain text, etc.) |
kind:image |
Images |
kind:video |
Videos |
kind:audio |
Audio files |
kind:code |
Source code and configuration files |
kind:archive |
Compressed archives |
kind:folder |
Folders (macOS also accepts kind:directory) |
kind:app |
Applications |
Examples: kind:doc invoice, kind:folder design, kind:image architecture
- Explicit operator:
ext:pdf contract,ext:xlsx budget,ext:srt interview - Dot shorthand:
.md roadmap,.pptx keynote - Bare trailing extension:
contract pdf,budget xlsx
- Supports
path:/Users/name/Work/,path:~/Documents/, or bare/...and~/...prefixes (plus drive paths on Windows). - Wrap paths containing spaces in quotes:
path:"~/Library/Mobile Documents/" proposal.
Lumen records file sizes with zero extra stat overhead during indexing and evaluates structured filters directly in memory (verified p50 0.28–0.42 ms). Typing s:, m:, or k: pops up a code-completion hint bar—press Tab to accept any token:
| Operator | Matches | Examples |
|---|---|---|
s: / size: |
File size (>, >=, <, <=, ranges .., kb/mb/gb) |
report s:>10mb, s:1mb..50mb pdf
|
m: / modified: |
Last modified time (today, yesterday, week, month, 7d, YYYY-MM-DD) |
m:today, contract m:week, m:>2026-01-01
|
- Optional Empty-Panel Recent Files: Toggle on under Settings → General to surface recently opened files immediately when summoning an empty bar.
Note: Lumen does not use an
in:operator. For scoping to a folder, useTabfolder scoping, project aliases, orpath:.
- Search for any folder and highlight it.
- Press
Tabto lock search inside a compact folder breadcrumb chip (fully space-safe, including iCloudMobile Documents). - Highlight a subfolder and press
Tabagain to drill down multiple levels. - Press
Backspaceon an empty query to pop up one level, orEscto exit the scope completely.
Pin a frequent project folder in Settings → Quicklinks and give it a short alias (for example kh for a client workspace):
- Type
kh quoteto search only inside that project folder. - Type
khand pressTabto jump straight into its breadcrumb scope.
-
Active apps & live files first: Installed apps (
/Applications, Windows Start Menu / Desktop /AppsFolder/ UWP) get top priority; archive directories (backups,archive,staging,retention,作废归档) are automatically demoted below active working files. - Privacy-preserving Frecency: Lumen learns which file you open for a given query so your favorites rise to the top—storing only irreversible SHA-256 hashes locally (zero plaintext paths or search queries written to preferences).
| Shortcut | Action |
|---|---|
↑ / ↓
|
Move selection up / down |
PgUp / PgDn
|
Jump 8 rows at a time (or scroll Q&A / script / PDF preview cards) |
Home / End
|
Jump to first / last result (Ctrl+Home / Ctrl+End also supported while typing on Windows) |
↩ (Enter) |
Primary action |
⌘↩ (macOS) / Ctrl+↩ (Windows) |
Secondary action (swaps Open ↔ Reveal in Finder / Explorer) |
⌘⇧C / Ctrl+Shift+C
|
Copy selected file name |
⌘⌥C / Ctrl+Alt+C
|
Copy full path |
Under Settings → General → Appearance & Behavior, choose what pressing ↩ does for regular files:
-
Open File (default):
↩opens the file;⌘↩/Ctrl+↩reveals it in Finder / File Explorer. -
Show in Finder / Explorer:
↩reveals and selects the file;⌘↩/Ctrl+↩opens it directly.
Folders, apps, web quicklinks, system actions, and calculations always execute on
↩.
Press ⌘K (macOS) or Ctrl+K / Alt+↩ (Windows) on any file to access:
- Inline Preview / Floating Window Preview
- Copy File (copies the real file object for pasting into chat/email/file manager; strictly blocked for online-only cloud placeholders)
- Copy Name / Copy Path
-
Search in Enclosing Folder (jumps straight into
Tabscope for the parent directory) - Open in Terminal (macOS auto-detects Ghostty, Warp, iTerm2, WezTerm, Alacritty, and Terminal)
- Open With… (lazy-loaded app picker)
-
Open Linked Media (when selecting an
.srt/.vttsubtitle hit, detects matching sibling.mp4/.mov/.mkv/.m4a/.mp3files and opens them directly) - Drag & Drop (macOS): drag local files directly out of the search result list into other apps.
Next Guide: Unified Document Previews & Windows Explorer QuickLook →
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