Skip to content

PasteFerry (隔空贴): clipboard and file sync across macOS, Windows and Linux. Direct-first, end-to-end encrypted. Optional official access: no server to host. Independent self-hosting remains available.

fix(ui): let digits search in quick paste; pick rows with Cmd/Alt+1-9

baiyuzefcc1efd2bc15
diff --git a/design/quick-paste-and-favorites.md b/design/quick-paste-and-favorites.md
index 8d3520b..7f07ff4 100644
--- a/design/quick-paste-and-favorites.md
+++ b/design/quick-paste-and-favorites.md
@@ -11,7 +11,7 @@
1. **快捷粘贴窗口**
- 在任何程序里按 ⌥V(Mac)/ Alt+V(Windows、Linux),弹出一个小窗口,列出复制记录,从其他设备收到的也在里面。
- - 可以用数字键、方向键加回车或者鼠标单击来选。选中后写回剪贴板,并自动粘贴到原来的输入位置。
+ - 可以用 ⌘ 或 Alt 加数字、方向键加回车或者鼠标单击来选。选中后写回剪贴板,并自动粘贴到原来的输入位置。
- 默认开启,设置里可以关闭。
2. **收藏**
- 和微信的收藏一样,收藏时另存一份,永远不会被自动清理。
@@ -72,9 +72,9 @@
- 来源设备(只有从其他设备收到的才显示);
- 时间。
- 每行最左边是序号:
- - 当前列表的前 9 条标 1–9,按对应数字就粘贴那一条。第 10 条起不标序号。
+ - 当前列表的前 9 条标 ⌘1–⌘9(Windows、Linux 上是 Alt+1–Alt+9),按对应的组合键就粘贴那一条。第 10 条起不标序号。
- 切换页签、搜索时,都按新的列表重新编号。
- - 搜索时序号显示成 ⌘1–⌘9(Windows、Linux 上是 Alt+1–Alt+9),这时直接按数字是在搜索框里打字。
+ - 直接按数字永远是在搜索框里打字,好搜快递单号、电话这类数字(2.6.2 起;之前搜索框为空时直接按数字会粘贴那一条,想搜数字搜不了)。
- 序号跟着条目走,不随滚动变化。
- 一屏大约 9 行,可以滚动。
- 搜索:
@@ -91,8 +91,8 @@
| 按键 | 作用 |
|---|---|
-| 1–9 | 粘贴对应的一条(只在搜索框为空时有效) |
-| ⌘1–9(Mac)/ Alt+1–9 | 任何时候都能粘贴对应的一条,搜索时用这个 |
+| ⌘1–9(Mac)/ Alt+1–9 | 粘贴对应的一条 |
+| 1–9 | 在搜索框里打字 |
| ↑ ↓(Mac 上还有 ⌃P ⌃N) | 移动选择 |
| 回车 | 粘贴选中的一条 |
| ⇧回车 | 以纯文本粘贴,去掉网页格式 |
@@ -163,7 +163,7 @@
╰──────────────────────────────────────────────────────╯
```
-**搜索时**:输入「docker」后,序号变成 ⌘1、⌘2……
+**搜索时**:输入「docker」后,按新的列表重新编号 ⌘1、⌘2……
```
╭──────────────────────────────────────────────────────╮
@@ -725,7 +725,7 @@ service DaemonService {
7. Windows:Alt+V 呼出后能否还原焦点,`SendInput` 能否粘贴。在这些程序里测试:记事本、Word、微信、浏览器、Windows Terminal,以及管理员命令行(应该降级为只放进剪贴板)。
- 部分验证(2026-10-20,Windows 11 虚拟机,一个 WinForms 文本框当目标):呼出、还原焦点、自动粘贴、Alt+数字(粘贴时还按着 Alt)、Ctrl+回车只复制、Ctrl+D、Tab、Esc 都正常。
- 2026-10-21 补测:记事本、Edge(网页里的输入框)、Windows Terminal 都能自动粘贴,终端里只粘贴、不会执行。管理员命令行:呼出时底栏写明「这个窗口以管理员身份运行,选中后按 Ctrl+V 粘贴」,选中后只放进剪贴板,不往它那里发按键。Word 虚拟机里没装;微信登录的是个人账号,没测。
- - 微软拼音在中文模式下会先收下 Shift、Ctrl(VK_PROCESSKEY),Flutter 引擎把这样的按键丢掉,也就不知道修饰键按着;数字只以文字的形式交来。现在 Windows 上判断修饰键时再问一次 `GetAsyncKeyState`,搜索框为空时输入一个 1–9 也当作选行。
+ - 微软拼音在中文模式下会先收下 Shift、Ctrl(VK_PROCESSKEY),Flutter 引擎把这样的按键丢掉,也就不知道修饰键按着;数字只以文字的形式交来。现在 Windows 上判断修饰键时再问一次 `GetAsyncKeyState`。(2.6.1 及之前,搜索框为空时输入一个 1–9 也当作选行;2.6.2 起数字一律是搜索词。)
8. Linux:
- 在现有的 Ubuntu 24.04 GNOME Wayland 虚拟机上:用自定义快捷键呼出时,窗口能否拿到焦点。**已验证**(2026-10-20):GNOME 带着激活令牌启动 `--toggle`,窗口拿到焦点;选中后放进剪贴板,收起后焦点回到原窗口,用户按 Ctrl+V 粘贴。
- 同一台虚拟机的 X11 会话:`XGrabKey` 和 XTest 是否可用。**已验证**(2026-10-20):窗口出现在鼠标所在屏幕的中上方,数字、搜索后回车、Alt+数字都能自动粘贴,Ctrl+回车只复制。
@@ -771,7 +771,7 @@ service DaemonService {
- **Dart**(widget 测试,后台服务用假实现):
- 快捷窗口:
- 按键表里的每个按键;
- - 数字键在搜索框为空和不为空时的不同行为;
+ - 直接按数字是打字,⌘ 或 Alt 加数字才选行;
- 页签切换,以及切换后重新编号、只在当前页签里搜索;
- `REMOTE_ONLY` 记录下载完后粘贴;
- 悬停提示框:停留多久才出现;文字超过 15 行时截断;下面放不下时改放上面;用键盘移动时不出现;
@@ -790,7 +790,7 @@ service DaemonService {
1. 快捷粘贴窗口默认开启,设置里可以关闭。
2. Mac 先按 ⌥V 做原型。第 12 节第 1 条验证不通过,再在 ⌃⌥V 和其他组合里选。
3. Mac 改用自签名证书签名,在零期单独发版。
-4. 保留数字键,列表前 9 条显示序号。
+4. 保留数字键,列表前 9 条显示序号。2.6.2 起选行要按住 ⌘ 或 Alt,直接按数字是打字(用户反馈搜不了数字)。
5. 快捷窗口有页签筛选,鼠标悬停显示完整内容;主窗口的「复制记录」页、「收藏」页也有悬停提示框。
6. 收藏时另存一份,包括本机复制的文件。
7. 取消收藏就放回复制记录的最上面;收藏里没有删除;「清空」不影响收藏。
diff --git a/docs/assets/screenshots/card-picker-dark.png b/docs/assets/screenshots/card-picker-dark.png
index 9710eeb..fceae5b 100644
Binary files a/docs/assets/screenshots/card-picker-dark.png and b/docs/assets/screenshots/card-picker-dark.png differ
diff --git a/docs/assets/screenshots/en/card-picker-dark.png b/docs/assets/screenshots/en/card-picker-dark.png
index 11fadde..5d82afc 100644
Binary files a/docs/assets/screenshots/en/card-picker-dark.png and b/docs/assets/screenshots/en/card-picker-dark.png differ
diff --git a/docs/assets/screenshots/ja/card-picker-dark.png b/docs/assets/screenshots/ja/card-picker-dark.png
index 9ab9eb8..7959ae5 100644
Binary files a/docs/assets/screenshots/ja/card-picker-dark.png and b/docs/assets/screenshots/ja/card-picker-dark.png differ
diff --git a/docs/assets/screenshots/zh-hk/card-picker-dark.png b/docs/assets/screenshots/zh-hk/card-picker-dark.png
index 9359b27..29864ba 100644
Binary files a/docs/assets/screenshots/zh-hk/card-picker-dark.png and b/docs/assets/screenshots/zh-hk/card-picker-dark.png differ
diff --git a/docs/assets/screenshots/zh-tw/card-picker-dark.png b/docs/assets/screenshots/zh-tw/card-picker-dark.png
index 6034577..e50e22f 100644
Binary files a/docs/assets/screenshots/zh-tw/card-picker-dark.png and b/docs/assets/screenshots/zh-tw/card-picker-dark.png differ
diff --git a/docs/en/features/index.html b/docs/en/features/index.html
index 761ca9f..241b6f6 100644
--- a/docs/en/features/index.html
+++ b/docs/en/features/index.html
@@ -166,13 +166,13 @@
<div class="picker">
<div class="qp-search"><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="7" cy="7" r="4.5"/><path d="m10.4 10.4 3.4 3.4"/></svg><span class="field"><span class="q">meeting</span><i class="caret"></i><span class="ph">Search</span></span></div>
<div class="qp-tabs"><span class="on">All</span><span>Text</span><span>Links</span><span>Images</span><span>Files</span><span>Favorites</span></div>
- <ol class="qp-rows"><li class="qp-row top"><span class="n n-all">1</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">Send me the deck by 7 pm</span><span class="m">Just now</span></li><li class="qp-row"><span class="n n-all">2</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.6 9.4a2.6 2.6 0 0 0 3.7 0l2.2-2.2a2.6 2.6 0 0 0-3.7-3.7L7.7 4.6"/><path d="M9.4 6.6a2.6 2.6 0 0 0-3.7 0L3.5 8.8a2.6 2.6 0 0 0 3.7 3.7l1.1-1.1"/></svg><span class="t">https://github.com/baiyuze/pasteferry</span><span class="m">2 minutes ago</span></li><li class="qp-row"><span class="n n-all">3</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="1.6"/><circle cx="5.6" cy="6.4" r="1.1"/><path d="m2.4 12 3.8-3.6 2.6 2.4 2-1.8 2.8 2.6"/></svg><span class="t">Image</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>Windows PC · 5 minutes ago</span></li><li class="qp-row"><span class="n n-all">4</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5.5 4.5V3.2c0-.5.4-.9.9-.9h3.8l2.6 2.6v6.4c0 .5-.4.9-.9.9h-1.4"/><path d="M3.5 5.6c0-.5.4-.9.9-.9h3.6l2.5 2.5v5.9c0 .5-.4.9-.9.9H4.4a.9.9 0 0 1-.9-.9z"/></svg><span class="t">signed-contract.pdf and 2 more</span><span class="m">52 minutes ago</span></li><li class="qp-row hit first"><span class="n n-all">5</span><span class="n n-hit"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">Meeting link: https://meeting.example.com/j/8823</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>1 hour ago</span></li><li class="qp-row"><span class="n n-all">6</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">docker compose up -d --build</span><span class="m">1 hour ago</span></li><li class="qp-row hit"><span class="n n-all">7</span><span class="n n-hit"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">Meeting notes are in the shared folder</span><span class="m">Yesterday</span></li><li class="qp-row"><span class="n n-all">8</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">pnpm install</span><span class="m">Yesterday</span></li></ol>
+ <ol class="qp-rows"><li class="qp-row top"><span class="n n-all"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">Send me the deck by 7 pm</span><span class="m">Just now</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.6 9.4a2.6 2.6 0 0 0 3.7 0l2.2-2.2a2.6 2.6 0 0 0-3.7-3.7L7.7 4.6"/><path d="M9.4 6.6a2.6 2.6 0 0 0-3.7 0L3.5 8.8a2.6 2.6 0 0 0 3.7 3.7l1.1-1.1"/></svg><span class="t">https://github.com/baiyuze/pasteferry</span><span class="m">2 minutes ago</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘3</span><span class="k-pc">Alt+3</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="1.6"/><circle cx="5.6" cy="6.4" r="1.1"/><path d="m2.4 12 3.8-3.6 2.6 2.4 2-1.8 2.8 2.6"/></svg><span class="t">Image</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>Windows PC · 5 minutes ago</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘4</span><span class="k-pc">Alt+4</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5.5 4.5V3.2c0-.5.4-.9.9-.9h3.8l2.6 2.6v6.4c0 .5-.4.9-.9.9h-1.4"/><path d="M3.5 5.6c0-.5.4-.9.9-.9h3.6l2.5 2.5v5.9c0 .5-.4.9-.9.9H4.4a.9.9 0 0 1-.9-.9z"/></svg><span class="t">signed-contract.pdf and 2 more</span><span class="m">52 minutes ago</span></li><li class="qp-row hit first"><span class="n n-all"><span class="k-mac">⌘5</span><span class="k-pc">Alt+5</span></span><span class="n n-hit"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">Meeting link: https://meeting.example.com/j/8823</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>1 hour ago</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘6</span><span class="k-pc">Alt+6</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">docker compose up -d --build</span><span class="m">1 hour ago</span></li><li class="qp-row hit"><span class="n n-all"><span class="k-mac">⌘7</span><span class="k-pc">Alt+7</span></span><span class="n n-hit"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">Meeting notes are in the shared folder</span><span class="m">Yesterday</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘8</span><span class="k-pc">Alt+8</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">pnpm install</span><span class="m">Yesterday</span></li></ol>
<div class="qp-foot"><span><kbd class="k-mac">↩</kbd><kbd class="k-pc">Enter</kbd>Paste</span><span><kbd class="k-mac">⇧↩</kbd><kbd class="k-pc">Shift+Enter</kbd>Plain text</span><span><kbd class="k-mac">⌘↩</kbd><kbd class="k-pc">Ctrl+Enter</kbd>Copy only</span><span><kbd class="k-mac">⌘D</kbd><kbd class="k-pc">Ctrl+D</kbd>Add to favorites</span><span><kbd class="k-mac">esc</kbd><kbd class="k-pc">Esc</kbd>Close</span></div>
</div>
</div>
<ol class="qp-steps">
<li data-step="0"><span class="num">1</span><h3>Press <span class="k-mac">⌥V</span><span class="k-pc">Alt+V</span></h3><p>Works in any app.</p></li>
- <li data-step="1"><span class="num">2</span><h3>Type a few letters</h3><p>Search text and file names, or press 1–9.</p></li>
+ <li data-step="1"><span class="num">2</span><h3>Type a few letters</h3><p>Search text and file names, or press <span class="k-mac">⌘1–9</span><span class="k-pc">Alt+1–9</span>.</p></li>
<li data-step="2"><span class="num">3</span><h3>Press <span class="k-mac">↩</span><span class="k-pc">Enter</span>. Done.</h3><p><span class="k-mac">⇧↩</span><span class="k-pc">Shift+Enter</span> for plain text, <span class="k-mac">⌘↩</span><span class="k-pc">Ctrl+Enter</span> to copy only.</p></li>
</ol>
</div>
diff --git a/docs/en/index.html b/docs/en/index.html
index 4119d23..d882d2f 100644
--- a/docs/en/index.html
+++ b/docs/en/index.html
@@ -206,7 +206,7 @@
<div class="spot-keys" aria-hidden="true">
<span class="k-mac"><kbd>⌥</kbd><kbd>V</kbd></span><span class="k-pc"><kbd>Alt</kbd><kbd>V</kbd></span>
</div>
- <img src="../assets/screenshots/en/card-picker-dark.png?v=c5dc0a2d23" width="1280" height="1080" loading="lazy" alt="The quick paste window: a search field and six tabs (All, Text, Links, Images, Files, Favorites), numbered history items, and key hints at the bottom">
+ <img src="../assets/screenshots/en/card-picker-dark.png?v=cd1167bebd" width="1280" height="1080" loading="lazy" alt="The quick paste window: a search field and six tabs (All, Text, Links, Images, Files, Favorites), numbered history items, and key hints at the bottom">
</figure>
<p class="more"><a href="features/#quick-paste">More about quick paste →</a></p>
</div>
diff --git a/docs/features/index.html b/docs/features/index.html
index 4999362..bada006 100644
--- a/docs/features/index.html
+++ b/docs/features/index.html
@@ -166,13 +166,13 @@
<div class="picker">
<div class="qp-search"><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="7" cy="7" r="4.5"/><path d="m10.4 10.4 3.4 3.4"/></svg><span class="field"><span class="q">会议</span><i class="caret"></i><span class="ph">搜索</span></span></div>
<div class="qp-tabs"><span class="on">全部</span><span>文本</span><span>链接</span><span>图片</span><span>文件</span><span>收藏</span></div>
- <ol class="qp-rows"><li class="qp-row top"><span class="n n-all">1</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">晚上 7 点前把方案发我</span><span class="m">刚刚</span></li><li class="qp-row"><span class="n n-all">2</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.6 9.4a2.6 2.6 0 0 0 3.7 0l2.2-2.2a2.6 2.6 0 0 0-3.7-3.7L7.7 4.6"/><path d="M9.4 6.6a2.6 2.6 0 0 0-3.7 0L3.5 8.8a2.6 2.6 0 0 0 3.7 3.7l1.1-1.1"/></svg><span class="t">https://github.com/baiyuze/pasteferry</span><span class="m">2 分钟前</span></li><li class="qp-row"><span class="n n-all">3</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="1.6"/><circle cx="5.6" cy="6.4" r="1.1"/><path d="m2.4 12 3.8-3.6 2.6 2.4 2-1.8 2.8 2.6"/></svg><span class="t">图片</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>Windows 台式机 · 5 分钟前</span></li><li class="qp-row"><span class="n n-all">4</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5.5 4.5V3.2c0-.5.4-.9.9-.9h3.8l2.6 2.6v6.4c0 .5-.4.9-.9.9h-1.4"/><path d="M3.5 5.6c0-.5.4-.9.9-.9h3.6l2.5 2.5v5.9c0 .5-.4.9-.9.9H4.4a.9.9 0 0 1-.9-.9z"/></svg><span class="t">合同扫描件.pdf 等 3 项</span><span class="m">52 分钟前</span></li><li class="qp-row hit first"><span class="n n-all">5</span><span class="n n-hit"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">会议链接:https://meeting.example.com/j/8823</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>1 小时前</span></li><li class="qp-row"><span class="n n-all">6</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">docker compose up -d --build</span><span class="m">1 小时前</span></li><li class="qp-row hit"><span class="n n-all">7</span><span class="n n-hit"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">会议纪要发到群里了</span><span class="m">1 天前</span></li><li class="qp-row"><span class="n n-all">8</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">pnpm install</span><span class="m">1 天前</span></li></ol>
+ <ol class="qp-rows"><li class="qp-row top"><span class="n n-all"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">晚上 7 点前把方案发我</span><span class="m">刚刚</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.6 9.4a2.6 2.6 0 0 0 3.7 0l2.2-2.2a2.6 2.6 0 0 0-3.7-3.7L7.7 4.6"/><path d="M9.4 6.6a2.6 2.6 0 0 0-3.7 0L3.5 8.8a2.6 2.6 0 0 0 3.7 3.7l1.1-1.1"/></svg><span class="t">https://github.com/baiyuze/pasteferry</span><span class="m">2 分钟前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘3</span><span class="k-pc">Alt+3</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="1.6"/><circle cx="5.6" cy="6.4" r="1.1"/><path d="m2.4 12 3.8-3.6 2.6 2.4 2-1.8 2.8 2.6"/></svg><span class="t">图片</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>Windows 台式机 · 5 分钟前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘4</span><span class="k-pc">Alt+4</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5.5 4.5V3.2c0-.5.4-.9.9-.9h3.8l2.6 2.6v6.4c0 .5-.4.9-.9.9h-1.4"/><path d="M3.5 5.6c0-.5.4-.9.9-.9h3.6l2.5 2.5v5.9c0 .5-.4.9-.9.9H4.4a.9.9 0 0 1-.9-.9z"/></svg><span class="t">合同扫描件.pdf 等 3 项</span><span class="m">52 分钟前</span></li><li class="qp-row hit first"><span class="n n-all"><span class="k-mac">⌘5</span><span class="k-pc">Alt+5</span></span><span class="n n-hit"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">会议链接:https://meeting.example.com/j/8823</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>1 小时前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘6</span><span class="k-pc">Alt+6</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">docker compose up -d --build</span><span class="m">1 小时前</span></li><li class="qp-row hit"><span class="n n-all"><span class="k-mac">⌘7</span><span class="k-pc">Alt+7</span></span><span class="n n-hit"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">会议纪要发到群里了</span><span class="m">1 天前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘8</span><span class="k-pc">Alt+8</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">pnpm install</span><span class="m">1 天前</span></li></ol>
<div class="qp-foot"><span><kbd class="k-mac">↩</kbd><kbd class="k-pc">Enter</kbd>粘贴</span><span><kbd class="k-mac">⇧↩</kbd><kbd class="k-pc">Shift+Enter</kbd>纯文本</span><span><kbd class="k-mac">⌘↩</kbd><kbd class="k-pc">Ctrl+Enter</kbd>只复制</span><span><kbd class="k-mac">⌘D</kbd><kbd class="k-pc">Ctrl+D</kbd>收藏</span><span><kbd class="k-mac">esc</kbd><kbd class="k-pc">Esc</kbd>关闭</span></div>
</div>
</div>
<ol class="qp-steps">
<li data-step="0"><span class="num">1</span><h3>按下 <span class="k-mac">⌥V</span><span class="k-pc">Alt+V</span></h3><p>在任何 App 里都行。</p></li>
- <li data-step="1"><span class="num">2</span><h3>打几个字</h3><p>文字和文件名都能搜,前 9 条按数字选。</p></li>
+ <li data-step="1"><span class="num">2</span><h3>打几个字</h3><p>文字和文件名都能搜,前 9 条按 <span class="k-mac">⌘1–9</span><span class="k-pc">Alt+1–9</span> 选。</p></li>
<li data-step="2"><span class="num">3</span><h3>按 <span class="k-mac">↩</span><span class="k-pc">Enter</span>,就贴好了</h3><p><span class="k-mac">⇧↩</span><span class="k-pc">Shift+Enter</span> 粘贴纯文本,<span class="k-mac">⌘↩</span><span class="k-pc">Ctrl+Enter</span> 只复制。</p></li>
</ol>
</div>
diff --git a/docs/index.html b/docs/index.html
index 632b5bb..3e4067f 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -231,7 +231,7 @@
<div class="spot-keys" aria-hidden="true">
<span class="k-mac"><kbd>⌥</kbd><kbd>V</kbd></span><span class="k-pc"><kbd>Alt</kbd><kbd>V</kbd></span>
</div>
- <img src="assets/screenshots/card-picker-dark.png?v=76aed639a0" width="1280" height="1080" loading="lazy" alt="快捷粘贴窗口:顶部是搜索框和全部、文本、链接、图片、文件、收藏六个页签,下面是带序号的复制记录,底栏是按键说明">
+ <img src="assets/screenshots/card-picker-dark.png?v=82d2b80ba1" width="1280" height="1080" loading="lazy" alt="快捷粘贴窗口:顶部是搜索框和全部、文本、链接、图片、文件、收藏六个页签,下面是带序号的复制记录,底栏是按键说明">
</figure>
<p class="more"><a href="features/#quick-paste">了解快捷粘贴 →</a></p>
</div>
diff --git a/docs/ja/features/index.html b/docs/ja/features/index.html
index 9395397..3c58ff9 100644
--- a/docs/ja/features/index.html
+++ b/docs/ja/features/index.html
@@ -166,13 +166,13 @@
<div class="picker">
<div class="qp-search"><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="7" cy="7" r="4.5"/><path d="m10.4 10.4 3.4 3.4"/></svg><span class="field"><span class="q">会議</span><i class="caret"></i><span class="ph">検索</span></span></div>
<div class="qp-tabs"><span class="on">すべて</span><span>テキスト</span><span>リンク</span><span>画像</span><span>ファイル</span><span>お気に入り</span></div>
- <ol class="qp-rows"><li class="qp-row top"><span class="n n-all">1</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">19 時までに資料を送ってください</span><span class="m">たった今</span></li><li class="qp-row"><span class="n n-all">2</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.6 9.4a2.6 2.6 0 0 0 3.7 0l2.2-2.2a2.6 2.6 0 0 0-3.7-3.7L7.7 4.6"/><path d="M9.4 6.6a2.6 2.6 0 0 0-3.7 0L3.5 8.8a2.6 2.6 0 0 0 3.7 3.7l1.1-1.1"/></svg><span class="t">https://github.com/baiyuze/pasteferry</span><span class="m">2 分前</span></li><li class="qp-row"><span class="n n-all">3</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="1.6"/><circle cx="5.6" cy="6.4" r="1.1"/><path d="m2.4 12 3.8-3.6 2.6 2.4 2-1.8 2.8 2.6"/></svg><span class="t">画像</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>Windows デスクトップ · 5 分前</span></li><li class="qp-row"><span class="n n-all">4</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5.5 4.5V3.2c0-.5.4-.9.9-.9h3.8l2.6 2.6v6.4c0 .5-.4.9-.9.9h-1.4"/><path d="M3.5 5.6c0-.5.4-.9.9-.9h3.6l2.5 2.5v5.9c0 .5-.4.9-.9.9H4.4a.9.9 0 0 1-.9-.9z"/></svg><span class="t">契約書_署名済み.pdf ほか 2 件</span><span class="m">52 分前</span></li><li class="qp-row hit first"><span class="n n-all">5</span><span class="n n-hit"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">会議リンク:https://meeting.example.com/j/8823</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>1 時間前</span></li><li class="qp-row"><span class="n n-all">6</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">docker compose up -d --build</span><span class="m">1 時間前</span></li><li class="qp-row hit"><span class="n n-all">7</span><span class="n n-hit"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">会議メモを共有フォルダに置きました</span><span class="m">1 日前</span></li><li class="qp-row"><span class="n n-all">8</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">pnpm install</span><span class="m">1 日前</span></li></ol>
+ <ol class="qp-rows"><li class="qp-row top"><span class="n n-all"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">19 時までに資料を送ってください</span><span class="m">たった今</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.6 9.4a2.6 2.6 0 0 0 3.7 0l2.2-2.2a2.6 2.6 0 0 0-3.7-3.7L7.7 4.6"/><path d="M9.4 6.6a2.6 2.6 0 0 0-3.7 0L3.5 8.8a2.6 2.6 0 0 0 3.7 3.7l1.1-1.1"/></svg><span class="t">https://github.com/baiyuze/pasteferry</span><span class="m">2 分前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘3</span><span class="k-pc">Alt+3</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="1.6"/><circle cx="5.6" cy="6.4" r="1.1"/><path d="m2.4 12 3.8-3.6 2.6 2.4 2-1.8 2.8 2.6"/></svg><span class="t">画像</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>Windows デスクトップ · 5 分前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘4</span><span class="k-pc">Alt+4</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5.5 4.5V3.2c0-.5.4-.9.9-.9h3.8l2.6 2.6v6.4c0 .5-.4.9-.9.9h-1.4"/><path d="M3.5 5.6c0-.5.4-.9.9-.9h3.6l2.5 2.5v5.9c0 .5-.4.9-.9.9H4.4a.9.9 0 0 1-.9-.9z"/></svg><span class="t">契約書_署名済み.pdf ほか 2 件</span><span class="m">52 分前</span></li><li class="qp-row hit first"><span class="n n-all"><span class="k-mac">⌘5</span><span class="k-pc">Alt+5</span></span><span class="n n-hit"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">会議リンク:https://meeting.example.com/j/8823</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>1 時間前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘6</span><span class="k-pc">Alt+6</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">docker compose up -d --build</span><span class="m">1 時間前</span></li><li class="qp-row hit"><span class="n n-all"><span class="k-mac">⌘7</span><span class="k-pc">Alt+7</span></span><span class="n n-hit"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">会議メモを共有フォルダに置きました</span><span class="m">1 日前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘8</span><span class="k-pc">Alt+8</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">pnpm install</span><span class="m">1 日前</span></li></ol>
<div class="qp-foot"><span><kbd class="k-mac">↩</kbd><kbd class="k-pc">Enter</kbd>ペースト</span><span><kbd class="k-mac">⇧↩</kbd><kbd class="k-pc">Shift+Enter</kbd>プレーンテキスト</span><span><kbd class="k-mac">⌘↩</kbd><kbd class="k-pc">Ctrl+Enter</kbd>コピーのみ</span><span><kbd class="k-mac">⌘D</kbd><kbd class="k-pc">Ctrl+D</kbd>お気に入りに追加</span><span><kbd class="k-mac">esc</kbd><kbd class="k-pc">Esc</kbd>閉じる</span></div>
</div>
</div>
<ol class="qp-steps">
<li data-step="0"><span class="num">1</span><h3><span class="k-mac">⌥V</span><span class="k-pc">Alt+V</span> を押す</h3><p>どのアプリでも使えます。</p></li>
- <li data-step="1"><span class="num">2</span><h3>数文字を入力</h3><p>テキストもファイル名も検索。1〜9 で直接選べます。</p></li>
+ <li data-step="1"><span class="num">2</span><h3>数文字を入力</h3><p>テキストもファイル名も検索。<span class="k-mac">⌘1–9</span><span class="k-pc">Alt+1–9</span> で直接選べます。</p></li>
<li data-step="2"><span class="num">3</span><h3><span class="k-mac">↩</span><span class="k-pc">Enter</span> を押せば完了</h3><p><span class="k-mac">⇧↩</span><span class="k-pc">Shift+Enter</span> でプレーンテキスト、<span class="k-mac">⌘↩</span><span class="k-pc">Ctrl+Enter</span> でコピーのみ。</p></li>
</ol>
</div>
diff --git a/docs/ja/index.html b/docs/ja/index.html
index 34e6dd5..6b09edf 100644
--- a/docs/ja/index.html
+++ b/docs/ja/index.html
@@ -206,7 +206,7 @@
<div class="spot-keys" aria-hidden="true">
<span class="k-mac"><kbd>⌥</kbd><kbd>V</kbd></span><span class="k-pc"><kbd>Alt</kbd><kbd>V</kbd></span>
</div>
- <img src="../assets/screenshots/ja/card-picker-dark.png?v=3464fe9619" width="1280" height="1080" loading="lazy" alt="クイックペーストウィンドウ:上に検索欄と「すべて・テキスト・リンク・画像・ファイル・お気に入り」のタブ、番号付きの履歴、下にキーの説明">
+ <img src="../assets/screenshots/ja/card-picker-dark.png?v=1c5045451b" width="1280" height="1080" loading="lazy" alt="クイックペーストウィンドウ:上に検索欄と「すべて・テキスト・リンク・画像・ファイル・お気に入り」のタブ、番号付きの履歴、下にキーの説明">
</figure>
<p class="more"><a href="features/#quick-paste">クイックペーストについて →</a></p>
</div>
diff --git a/docs/zh-hk/features/index.html b/docs/zh-hk/features/index.html
index af7d427..6da1db3 100644
--- a/docs/zh-hk/features/index.html
+++ b/docs/zh-hk/features/index.html
@@ -166,13 +166,13 @@
<div class="picker">
<div class="qp-search"><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="7" cy="7" r="4.5"/><path d="m10.4 10.4 3.4 3.4"/></svg><span class="field"><span class="q">會議</span><i class="caret"></i><span class="ph">搜尋</span></span></div>
<div class="qp-tabs"><span class="on">全部</span><span>文字</span><span>連結</span><span>圖片</span><span>檔案</span><span>收藏</span></div>
- <ol class="qp-rows"><li class="qp-row top"><span class="n n-all">1</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">晚上 7 點前把方案傳給我</span><span class="m">剛剛</span></li><li class="qp-row"><span class="n n-all">2</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.6 9.4a2.6 2.6 0 0 0 3.7 0l2.2-2.2a2.6 2.6 0 0 0-3.7-3.7L7.7 4.6"/><path d="M9.4 6.6a2.6 2.6 0 0 0-3.7 0L3.5 8.8a2.6 2.6 0 0 0 3.7 3.7l1.1-1.1"/></svg><span class="t">https://github.com/baiyuze/pasteferry</span><span class="m">2 分鐘前</span></li><li class="qp-row"><span class="n n-all">3</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="1.6"/><circle cx="5.6" cy="6.4" r="1.1"/><path d="m2.4 12 3.8-3.6 2.6 2.4 2-1.8 2.8 2.6"/></svg><span class="t">圖片</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>Windows 桌面電腦 · 5 分鐘前</span></li><li class="qp-row"><span class="n n-all">4</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5.5 4.5V3.2c0-.5.4-.9.9-.9h3.8l2.6 2.6v6.4c0 .5-.4.9-.9.9h-1.4"/><path d="M3.5 5.6c0-.5.4-.9.9-.9h3.6l2.5 2.5v5.9c0 .5-.4.9-.9.9H4.4a.9.9 0 0 1-.9-.9z"/></svg><span class="t">合約掃描本.pdf 等 3 項</span><span class="m">52 分鐘前</span></li><li class="qp-row hit first"><span class="n n-all">5</span><span class="n n-hit"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">會議連結:https://meeting.example.com/j/8823</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>1 小時前</span></li><li class="qp-row"><span class="n n-all">6</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">docker compose up -d --build</span><span class="m">1 小時前</span></li><li class="qp-row hit"><span class="n n-all">7</span><span class="n n-hit"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">會議記錄已經放到群組</span><span class="m">1 天前</span></li><li class="qp-row"><span class="n n-all">8</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">pnpm install</span><span class="m">1 天前</span></li></ol>
+ <ol class="qp-rows"><li class="qp-row top"><span class="n n-all"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">晚上 7 點前把方案傳給我</span><span class="m">剛剛</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.6 9.4a2.6 2.6 0 0 0 3.7 0l2.2-2.2a2.6 2.6 0 0 0-3.7-3.7L7.7 4.6"/><path d="M9.4 6.6a2.6 2.6 0 0 0-3.7 0L3.5 8.8a2.6 2.6 0 0 0 3.7 3.7l1.1-1.1"/></svg><span class="t">https://github.com/baiyuze/pasteferry</span><span class="m">2 分鐘前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘3</span><span class="k-pc">Alt+3</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="1.6"/><circle cx="5.6" cy="6.4" r="1.1"/><path d="m2.4 12 3.8-3.6 2.6 2.4 2-1.8 2.8 2.6"/></svg><span class="t">圖片</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>Windows 桌面電腦 · 5 分鐘前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘4</span><span class="k-pc">Alt+4</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5.5 4.5V3.2c0-.5.4-.9.9-.9h3.8l2.6 2.6v6.4c0 .5-.4.9-.9.9h-1.4"/><path d="M3.5 5.6c0-.5.4-.9.9-.9h3.6l2.5 2.5v5.9c0 .5-.4.9-.9.9H4.4a.9.9 0 0 1-.9-.9z"/></svg><span class="t">合約掃描本.pdf 等 3 項</span><span class="m">52 分鐘前</span></li><li class="qp-row hit first"><span class="n n-all"><span class="k-mac">⌘5</span><span class="k-pc">Alt+5</span></span><span class="n n-hit"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">會議連結:https://meeting.example.com/j/8823</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>1 小時前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘6</span><span class="k-pc">Alt+6</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">docker compose up -d --build</span><span class="m">1 小時前</span></li><li class="qp-row hit"><span class="n n-all"><span class="k-mac">⌘7</span><span class="k-pc">Alt+7</span></span><span class="n n-hit"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">會議記錄已經放到群組</span><span class="m">1 天前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘8</span><span class="k-pc">Alt+8</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">pnpm install</span><span class="m">1 天前</span></li></ol>
<div class="qp-foot"><span><kbd class="k-mac">↩</kbd><kbd class="k-pc">Enter</kbd>貼上</span><span><kbd class="k-mac">⇧↩</kbd><kbd class="k-pc">Shift+Enter</kbd>純文字</span><span><kbd class="k-mac">⌘↩</kbd><kbd class="k-pc">Ctrl+Enter</kbd>只複製</span><span><kbd class="k-mac">⌘D</kbd><kbd class="k-pc">Ctrl+D</kbd>收藏</span><span><kbd class="k-mac">esc</kbd><kbd class="k-pc">Esc</kbd>關閉</span></div>
</div>
</div>
<ol class="qp-steps">
<li data-step="0"><span class="num">1</span><h3>按下 <span class="k-mac">⌥V</span><span class="k-pc">Alt+V</span></h3><p>在任何程式裏都可以。</p></li>
- <li data-step="1"><span class="num">2</span><h3>打幾個字</h3><p>文字和檔案名稱都能搜,前 9 項按數字選。</p></li>
+ <li data-step="1"><span class="num">2</span><h3>打幾個字</h3><p>文字和檔案名稱都能搜,前 9 項按 <span class="k-mac">⌘1–9</span><span class="k-pc">Alt+1–9</span> 選。</p></li>
<li data-step="2"><span class="num">3</span><h3>按 <span class="k-mac">↩</span><span class="k-pc">Enter</span>,就貼好了</h3><p><span class="k-mac">⇧↩</span><span class="k-pc">Shift+Enter</span> 貼上純文字,<span class="k-mac">⌘↩</span><span class="k-pc">Ctrl+Enter</span> 只複製。</p></li>
</ol>
</div>
diff --git a/docs/zh-hk/index.html b/docs/zh-hk/index.html
index 455dab0..01a5810 100644
--- a/docs/zh-hk/index.html
+++ b/docs/zh-hk/index.html
@@ -206,7 +206,7 @@
<div class="spot-keys" aria-hidden="true">
<span class="k-mac"><kbd>⌥</kbd><kbd>V</kbd></span><span class="k-pc"><kbd>Alt</kbd><kbd>V</kbd></span>
</div>
- <img src="../assets/screenshots/zh-hk/card-picker-dark.png?v=d7144d0731" width="1280" height="1080" loading="lazy" alt="快速貼上視窗:頂部是搜尋框和全部、文字、連結、圖片、檔案、收藏六個分頁,下面是帶序號的複製記錄,底列是按鍵說明">
+ <img src="../assets/screenshots/zh-hk/card-picker-dark.png?v=42d3c7f611" width="1280" height="1080" loading="lazy" alt="快速貼上視窗:頂部是搜尋框和全部、文字、連結、圖片、檔案、收藏六個分頁,下面是帶序號的複製記錄,底列是按鍵說明">
</figure>
<p class="more"><a href="features/#quick-paste">了解快速貼上 →</a></p>
</div>
diff --git a/docs/zh-tw/features/index.html b/docs/zh-tw/features/index.html
index 88aee5c..1f9b7eb 100644
--- a/docs/zh-tw/features/index.html
+++ b/docs/zh-tw/features/index.html
@@ -166,13 +166,13 @@
<div class="picker">
<div class="qp-search"><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="7" cy="7" r="4.5"/><path d="m10.4 10.4 3.4 3.4"/></svg><span class="field"><span class="q">會議</span><i class="caret"></i><span class="ph">搜尋</span></span></div>
<div class="qp-tabs"><span class="on">全部</span><span>文字</span><span>連結</span><span>圖片</span><span>檔案</span><span>收藏</span></div>
- <ol class="qp-rows"><li class="qp-row top"><span class="n n-all">1</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">晚上 7 點前把方案傳給我</span><span class="m">剛剛</span></li><li class="qp-row"><span class="n n-all">2</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.6 9.4a2.6 2.6 0 0 0 3.7 0l2.2-2.2a2.6 2.6 0 0 0-3.7-3.7L7.7 4.6"/><path d="M9.4 6.6a2.6 2.6 0 0 0-3.7 0L3.5 8.8a2.6 2.6 0 0 0 3.7 3.7l1.1-1.1"/></svg><span class="t">https://github.com/baiyuze/pasteferry</span><span class="m">2 分鐘前</span></li><li class="qp-row"><span class="n n-all">3</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="1.6"/><circle cx="5.6" cy="6.4" r="1.1"/><path d="m2.4 12 3.8-3.6 2.6 2.4 2-1.8 2.8 2.6"/></svg><span class="t">圖片</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>Windows 桌機 · 5 分鐘前</span></li><li class="qp-row"><span class="n n-all">4</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5.5 4.5V3.2c0-.5.4-.9.9-.9h3.8l2.6 2.6v6.4c0 .5-.4.9-.9.9h-1.4"/><path d="M3.5 5.6c0-.5.4-.9.9-.9h3.6l2.5 2.5v5.9c0 .5-.4.9-.9.9H4.4a.9.9 0 0 1-.9-.9z"/></svg><span class="t">合約掃描檔.pdf 等 3 項</span><span class="m">52 分鐘前</span></li><li class="qp-row hit first"><span class="n n-all">5</span><span class="n n-hit"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">會議連結:https://meeting.example.com/j/8823</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>1 小時前</span></li><li class="qp-row"><span class="n n-all">6</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">docker compose up -d --build</span><span class="m">1 小時前</span></li><li class="qp-row hit"><span class="n n-all">7</span><span class="n n-hit"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">會議記錄傳到群組了</span><span class="m">1 天前</span></li><li class="qp-row"><span class="n n-all">8</span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">pnpm install</span><span class="m">1 天前</span></li></ol>
+ <ol class="qp-rows"><li class="qp-row top"><span class="n n-all"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">晚上 7 點前把方案傳給我</span><span class="m">剛剛</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.6 9.4a2.6 2.6 0 0 0 3.7 0l2.2-2.2a2.6 2.6 0 0 0-3.7-3.7L7.7 4.6"/><path d="M9.4 6.6a2.6 2.6 0 0 0-3.7 0L3.5 8.8a2.6 2.6 0 0 0 3.7 3.7l1.1-1.1"/></svg><span class="t">https://github.com/baiyuze/pasteferry</span><span class="m">2 分鐘前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘3</span><span class="k-pc">Alt+3</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="1.6"/><circle cx="5.6" cy="6.4" r="1.1"/><path d="m2.4 12 3.8-3.6 2.6 2.4 2-1.8 2.8 2.6"/></svg><span class="t">圖片</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>Windows 桌機 · 5 分鐘前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘4</span><span class="k-pc">Alt+4</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5.5 4.5V3.2c0-.5.4-.9.9-.9h3.8l2.6 2.6v6.4c0 .5-.4.9-.9.9h-1.4"/><path d="M3.5 5.6c0-.5.4-.9.9-.9h3.6l2.5 2.5v5.9c0 .5-.4.9-.9.9H4.4a.9.9 0 0 1-.9-.9z"/></svg><span class="t">合約掃描檔.pdf 等 3 項</span><span class="m">52 分鐘前</span></li><li class="qp-row hit first"><span class="n n-all"><span class="k-mac">⌘5</span><span class="k-pc">Alt+5</span></span><span class="n n-hit"><span class="k-mac">⌘1</span><span class="k-pc">Alt+1</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">會議連結:https://meeting.example.com/j/8823</span><span class="m"><svg class="star" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="m8 1.6 1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.4l-3.8 2 .7-4.3-3.1-3 4.3-.6z"/></svg>1 小時前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘6</span><span class="k-pc">Alt+6</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">docker compose up -d --build</span><span class="m">1 小時前</span></li><li class="qp-row hit"><span class="n n-all"><span class="k-mac">⌘7</span><span class="k-pc">Alt+7</span></span><span class="n n-hit"><span class="k-mac">⌘2</span><span class="k-pc">Alt+2</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">會議記錄傳到群組了</span><span class="m">1 天前</span></li><li class="qp-row"><span class="n n-all"><span class="k-mac">⌘8</span><span class="k-pc">Alt+8</span></span><svg class="ico" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 4.5h10M3 8h10M3 11.5h6.5"/></svg><span class="t">pnpm install</span><span class="m">1 天前</span></li></ol>
<div class="qp-foot"><span><kbd class="k-mac">↩</kbd><kbd class="k-pc">Enter</kbd>貼上</span><span><kbd class="k-mac">⇧↩</kbd><kbd class="k-pc">Shift+Enter</kbd>純文字</span><span><kbd class="k-mac">⌘↩</kbd><kbd class="k-pc">Ctrl+Enter</kbd>只複製</span><span><kbd class="k-mac">⌘D</kbd><kbd class="k-pc">Ctrl+D</kbd>收藏</span><span><kbd class="k-mac">esc</kbd><kbd class="k-pc">Esc</kbd>關閉</span></div>
</div>
</div>
<ol class="qp-steps">
<li data-step="0"><span class="num">1</span><h3>按下 <span class="k-mac">⌥V</span><span class="k-pc">Alt+V</span></h3><p>在任何 App 裡都行。</p></li>
- <li data-step="1"><span class="num">2</span><h3>打幾個字</h3><p>文字和檔名都能搜,前 9 筆按數字選。</p></li>
+ <li data-step="1"><span class="num">2</span><h3>打幾個字</h3><p>文字和檔名都能搜,前 9 筆按 <span class="k-mac">⌘1–9</span><span class="k-pc">Alt+1–9</span> 選。</p></li>
<li data-step="2"><span class="num">3</span><h3>按 <span class="k-mac">↩</span><span class="k-pc">Enter</span>,就貼好了</h3><p><span class="k-mac">⇧↩</span><span class="k-pc">Shift+Enter</span> 貼上純文字,<span class="k-mac">⌘↩</span><span class="k-pc">Ctrl+Enter</span> 只複製。</p></li>
</ol>
</div>
diff --git a/docs/zh-tw/index.html b/docs/zh-tw/index.html
index 6efcd46..7fafda2 100644
--- a/docs/zh-tw/index.html
+++ b/docs/zh-tw/index.html
@@ -206,7 +206,7 @@
<div class="spot-keys" aria-hidden="true">
<span class="k-mac"><kbd>⌥</kbd><kbd>V</kbd></span><span class="k-pc"><kbd>Alt</kbd><kbd>V</kbd></span>
</div>
- <img src="../assets/screenshots/zh-tw/card-picker-dark.png?v=a39b1fac48" width="1280" height="1080" loading="lazy" alt="快速貼上視窗:頂部是搜尋框和全部、文字、連結、圖片、檔案、收藏六個分頁,下面是帶序號的複製記錄,底列是按鍵說明">
+ <img src="../assets/screenshots/zh-tw/card-picker-dark.png?v=5a4d0f6553" width="1280" height="1080" loading="lazy" alt="快速貼上視窗:頂部是搜尋框和全部、文字、連結、圖片、檔案、收藏六個分頁,下面是帶序號的複製記錄,底列是按鍵說明">
</figure>
<p class="more"><a href="features/#quick-paste">了解快速貼上 →</a></p>
</div>
diff --git a/tools/site/build.py b/tools/site/build.py
index 59473d9..ab25a57 100644
--- a/tools/site/build.py
+++ b/tools/site/build.py
@@ -129,6 +129,7 @@ KEYS = {
"fav": ("⌘D", "Ctrl+D"),
"paste": ("⌘V", "Ctrl+V"),
"copy": ("⌘C", "Ctrl+C"),
+ "index": ("⌘1–9", "Alt+1–9"),
}
PLATFORM = (' <script>document.documentElement.classList.add("js");'
'if (!/Mac|iPhone|iPad/.test(navigator.platform || navigator.userAgent)) '
@@ -726,7 +727,8 @@ def qp_demo(f: dict, app: dict) -> str:
for i, (kind, text, meta, starred, match) in enumerate(f["qp_rows"]):
if match:
hit += 1
- num = f'<span class="n n-all">{i + 1}</span>' if i < 9 else '<span class="n n-all"></span>'
+ num = (f'<span class="n n-all"><span class="k-mac">⌘{i + 1}</span><span class="k-pc">Alt+{i + 1}</span></span>'
+ if i < 9 else '<span class="n n-all"></span>')
search_num = (f'<span class="n n-hit"><span class="k-mac">⌘{hit}</span><span class="k-pc">Alt+{hit}</span></span>'
if match else "")
rows.append(
diff --git a/tools/site/content/features.py b/tools/site/content/features.py
index 42c2234..e9d2794 100644
--- a/tools/site/content/features.py
+++ b/tools/site/content/features.py
@@ -2,7 +2,7 @@
按键写成占位符,生成页面时换成 Mac 与 Windows、Linux 两种写法,由 site.js 按访问者的系统显示其中一种:
{key} ⌥V / Alt+V,{enter} ↩ / Enter,{plain} ⇧↩ / Shift+Enter,{copyonly} ⌘↩ / Ctrl+Enter,
-{fav} ⌘D / Ctrl+D,{paste} ⌘V / Ctrl+V,{copy} ⌘C / Ctrl+C。
+{fav} ⌘D / Ctrl+D,{paste} ⌘V / Ctrl+V,{copy} ⌘C / Ctrl+C,{index} ⌘1–9 / Alt+1–9。
快捷窗口演示里的页签、底栏等界面文字直接取自 App 的文案(ui/tool/l10n/strings.py),和 App 里一模一样。
"""
@@ -209,11 +209,11 @@ COPY = {
'どのアプリでもショートカットを押して選ぶと、カーソル位置に貼り付けます。',
),
"qp_steps": (
- [('按下 {key}', '在任何 App 里都行。'), ('打几个字', '文字和文件名都能搜,前 9 条按数字选。'), ('按 {enter},就贴好了', '{plain} 粘贴纯文本,{copyonly} 只复制。')],
- [('按下 {key}', '在任何 App 裡都行。'), ('打幾個字', '文字和檔名都能搜,前 9 筆按數字選。'), ('按 {enter},就貼好了', '{plain} 貼上純文字,{copyonly} 只複製。')],
- [('按下 {key}', '在任何程式裏都可以。'), ('打幾個字', '文字和檔案名稱都能搜,前 9 項按數字選。'), ('按 {enter},就貼好了', '{plain} 貼上純文字,{copyonly} 只複製。')],
- [('Press {key}', 'Works in any app.'), ('Type a few letters', 'Search text and file names, or press 1–9.'), ('Press {enter}. Done.', '{plain} for plain text, {copyonly} to copy only.')],
- [('{key} を押す', 'どのアプリでも使えます。'), ('数文字を入力', 'テキストもファイル名も検索。1〜9 で直接選べます。'), ('{enter} を押せば完了', '{plain} でプレーンテキスト、{copyonly} でコピーのみ。')],
+ [('按下 {key}', '在任何 App 里都行。'), ('打几个字', '文字和文件名都能搜,前 9 条按 {index} 选。'), ('按 {enter},就贴好了', '{plain} 粘贴纯文本,{copyonly} 只复制。')],
+ [('按下 {key}', '在任何 App 裡都行。'), ('打幾個字', '文字和檔名都能搜,前 9 筆按 {index} 選。'), ('按 {enter},就貼好了', '{plain} 貼上純文字,{copyonly} 只複製。')],
+ [('按下 {key}', '在任何程式裏都可以。'), ('打幾個字', '文字和檔案名稱都能搜,前 9 項按 {index} 選。'), ('按 {enter},就貼好了', '{plain} 貼上純文字,{copyonly} 只複製。')],
+ [('Press {key}', 'Works in any app.'), ('Type a few letters', 'Search text and file names, or press {index}.'), ('Press {enter}. Done.', '{plain} for plain text, {copyonly} to copy only.')],
+ [('{key} を押す', 'どのアプリでも使えます。'), ('数文字を入力', 'テキストもファイル名も検索。{index} で直接選べます。'), ('{enter} を押せば完了', '{plain} でプレーンテキスト、{copyonly} でコピーのみ。')],
),
"qp_note": (
'快捷键可以改或关掉。Mac 上直接粘贴需要「辅助功能」权限。',
diff --git a/ui/lib/picker/picker_view.dart b/ui/lib/picker/picker_view.dart
index add508d..b212d85 100644
--- a/ui/lib/picker/picker_view.dart
+++ b/ui/lib/picker/picker_view.dart
@@ -94,26 +94,9 @@ class _PickerViewState extends State<PickerView> {
/// 用输入法打拼音时不拿拼音去搜,选字上屏后再搜(见 [committedText])
void _onSearch() {
final q = committedText(_search.value);
- // 搜索框原本是空的、只多了一个 1–9:和按数字键一样选那一行。
- // Windows 上中文输入法开着时,数字键先被输入法收下,Flutter 收不到按键(见 _onKey),只收到输入法交来的字
- final digit = s.query.isEmpty && !_composing ? _typedDigit(q) : null;
- if (digit != null) {
- _search.clear();
- s.chooseIndex(digit - 1);
- return;
- }
if (q != s.query) s.setQuery(q);
}
- /// 单独一个 1–9,半角或全角
- static int? _typedDigit(String text) {
- if (text.length != 1) return null;
- final c = text.codeUnitAt(0);
- if (c >= 0x31 && c <= 0x39) return c - 0x30;
- if (c >= 0xFF11 && c <= 0xFF19) return c - 0xFF10;
- return null;
- }
-
void _onShown() {
_search.clear();
if (_scroll.hasClients) _scroll.jumpTo(0);
@@ -196,14 +179,11 @@ class _PickerViewState extends State<PickerView> {
s.delete(current);
return KeyEventResult.handled;
}
- // 序号:搜索框为空时直接按数字;任何时候按住 ⌘(Mac)或 Alt(Windows、Linux)
+ // 序号:按住 ⌘(Mac)或 Alt(Windows、Linux)再按数字。直接按数字是在搜索框里打字,好搜数字
final digit = _digit(e);
- if (digit != null && e is KeyDownEvent) {
- final withModifier = _mac ? kb.isMetaPressed : _alt;
- if (withModifier || (_search.text.isEmpty && !_ctrl && !kb.isMetaPressed && !_alt)) {
- s.chooseIndex(digit - 1);
- return KeyEventResult.handled;
- }
+ if (digit != null && e is KeyDownEvent && (_mac ? kb.isMetaPressed : _alt)) {
+ s.chooseIndex(digit - 1);
+ return KeyEventResult.handled;
}
return KeyEventResult.ignored;
}
@@ -360,7 +340,7 @@ class _PickerViewState extends State<PickerView> {
record: list[i],
index: i,
selected: i == s.selected,
- number: i < 9 ? (s.query.trim().isEmpty ? '${i + 1}' : (_mac ? '⌘${i + 1}' : 'Alt+${i + 1}')) : null,
+ number: i < 9 ? (_mac ? '⌘${i + 1}' : 'Alt+${i + 1}') : null,
favoritesTab: s.tab == PickerTab.favorites,
dim: p.textFaint,
),
diff --git a/ui/test/picker_test.dart b/ui/test/picker_test.dart
index a8c8479..3424f2d 100644
--- a/ui/test/picker_test.dart
+++ b/ui/test/picker_test.dart
@@ -16,6 +16,15 @@ const _channel = MethodChannel('pasteferry/picker');
// 快捷窗口的按键跟着平台走:Mac 上是 ⌘,Windows 与 Linux 上是 Ctrl(序号是 Alt+数字)
final _mac = Platform.isMacOS;
final _cmdKey = _mac ? LogicalKeyboardKey.metaLeft : LogicalKeyboardKey.controlLeft;
+final _indexKey = _mac ? LogicalKeyboardKey.metaLeft : LogicalKeyboardKey.altLeft;
+
+/// 按住 ⌘(Mac)或 Alt 再按数字:选那一行
+Future<void> _pressIndex(WidgetTester tester, LogicalKeyboardKey digit, {PhysicalKeyboardKey? physicalKey}) async {
+ await tester.sendKeyDownEvent(_indexKey);
+ await tester.sendKeyDownEvent(digit, physicalKey: physicalKey);
+ await tester.sendKeyUpEvent(digit, physicalKey: physicalKey);
+ await tester.sendKeyUpEvent(_indexKey);
+}
/// 不连后台服务:放进剪贴板、下载、收藏都记下来。
class _TestPicker extends PickerState {
@@ -117,16 +126,16 @@ void main() {
List<MethodCall> commits() => calls.where((c) => c.method == 'commit').toList();
- testWidgets('前 9 条标序号,按数字直接粘贴那一条', (tester) async {
+ testWidgets('前 9 条标序号,按 ⌘ 或 Alt 加数字粘贴那一条', (tester) async {
final s = await open(tester);
- expect(find.text('1'), findsOneWidget);
- expect(find.text('4'), findsOneWidget);
+ expect(find.text(_mac ? '⌘1' : 'Alt+1'), findsOneWidget);
+ expect(find.text(_mac ? '⌘4' : 'Alt+4'), findsOneWidget);
// 「收藏」既是页签,也是底栏 ⌘D 的说明
for (final t in ['全部', '文本', '链接', '图片', '文件', '收藏']) {
expect(find.text(t), findsWidgets, reason: t);
}
- await tester.sendKeyEvent(LogicalKeyboardKey.digit2);
+ await _pressIndex(tester, LogicalKeyboardKey.digit2);
await tester.pump();
expect(s.applied, [('b', false)]);
expect(commits().single.arguments, {'paste': true});
@@ -134,22 +143,27 @@ void main() {
testWidgets('模拟输入没有扫描码、认不出物理按键时,按逻辑按键认数字', (tester) async {
final s = await open(tester);
- await tester.sendKeyDownEvent(LogicalKeyboardKey.digit3, physicalKey: PhysicalKeyboardKey.keyQ);
- await tester.sendKeyUpEvent(LogicalKeyboardKey.digit3, physicalKey: PhysicalKeyboardKey.keyQ);
+ await _pressIndex(tester, LogicalKeyboardKey.digit3, physicalKey: PhysicalKeyboardKey.keyQ);
await tester.pump();
expect(s.applied, [('c', false)]);
});
- testWidgets('输入法收下数字键、只交来文字时(Windows 中文输入法),也按数字选那一行', (tester) async {
+ testWidgets('搜索框为空时直接按数字也是打字,拿去搜(不选那一行)', (tester) async {
final s = await open(tester);
+ await tester.sendKeyEvent(LogicalKeyboardKey.digit2);
+ await tester.pump();
+ expect(s.applied, isEmpty);
+ // 中文输入法收下数字键、只交来文字(Windows):同样当作搜索词
final field = tester.widget<TextField>(find.byType(TextField));
field.controller!.value = const TextEditingValue(text: '2', selection: TextSelection.collapsed(offset: 1));
await tester.pump();
- expect(s.applied, [('b', false)]);
- expect(field.controller!.text, '');
+ expect(s.applied, isEmpty);
+ expect(field.controller!.text, '2');
+ expect(s.query, '2');
+ await tester.pump(const Duration(milliseconds: 200)); // 等搜索的计时器走完
});
- testWidgets('搜索时数字是打字,序号变成 ⌘1……', (tester) async {
+ testWidgets('搜索时数字是打字,序号照样是 ⌘1……', (tester) async {
final s = await open(tester);
await tester.enterText(find.byType(TextField), 'docker 2');
await tester.pump();
@@ -231,7 +245,7 @@ void main() {
testWidgets('设置里选了只复制:选中后不模拟粘贴,底栏写明要按 ⌘V', (tester) async {
final s = await open(tester, config: Config(language: 'zh-Hans', quickPasteCopyOnly: true));
expect(find.text('选中后按 ${_mac ? '⌘V' : 'Ctrl+V'} 粘贴'), findsOneWidget);
- await tester.sendKeyEvent(LogicalKeyboardKey.digit1);
+ await _pressIndex(tester, LogicalKeyboardKey.digit1);
await tester.pump();
expect(s.applied.single.$1, 'a');
expect(commits().single.arguments, {'paste': false});
@@ -242,7 +256,7 @@ void main() {
expect(find.text('这个窗口以管理员身份运行,选中后按 ${_mac ? '⌘V' : 'Ctrl+V'} 粘贴'), findsOneWidget);
expect(s.canPaste, isTrue);
expect(s.pasteBlockedReason, '');
- await tester.sendKeyEvent(LogicalKeyboardKey.digit1);
+ await _pressIndex(tester, LogicalKeyboardKey.digit1);
await tester.pump();
expect(s.applied.single.$1, 'a');
});
@@ -328,7 +342,7 @@ void main() {
testWidgets('没下载的大文件:先下载,下完放进剪贴板再粘贴', (tester) async {
final s = await open(tester);
- await tester.sendKeyEvent(LogicalKeyboardKey.digit4);
+ await _pressIndex(tester, LogicalKeyboardKey.digit4);
await tester.pump();
expect(s.fetched, ['big']);
expect(s.applied, isEmpty);