YangShen-SWE/dsh-plugin-chat-zoom ↗★ 0

dsh-plugin-chat-zoom

通过快捷键或设置项缩放聊天区域字号倍率 适合需要快速调整聊天界面文字大小以获得更好视觉体验的用户。

套件
dsh-plugin-chat-zoom
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年10月13日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YangShen-SWE/dsh-plugin-chat-zoom

方法二:使用 DSH CLI

如果已配置 dsh 命令,桌面版可运行:

dsh plugin --profile desktop add "dsh-plugin-chat-zoom@https://github.com/YangShen-SWE/dsh-plugin-chat-zoom/releases/download/v0.1.0/dsh-plugin-chat-zoom-0.1.0.tgz" --ignore-scripts

离线安装已下载的文件,例如在 Windows 上:

dsh plugin --profile desktop add "dsh-plugin-chat-zoom@file:C:/Downloads/dsh-plugin-chat-zoom-0.1.0.tgz" --offline --ignore-scripts

请把文件路径和 desktop 替换为实际下载位置与当前 profile(配置档案)。不确定 profile 或没有 dsh 命令时,使用插件页安装。这些命令由用户执行,本仓库不会自动修改 DSH 配置。 插件自身没有安装脚本。

使用

设置页

进入 设置 → 缩放:

控件作用
聊天倍率选择 80%–200% 的倍率
缩小 / 放大每次调整 10 个百分点
恢复 100%恢复默认倍率,并保存该值
清除倍率记忆恢复 100%,删除本插件保存的倍率记录

修改立即生效。清除倍率记忆不会删除聊天、输入草稿或其他设置。

快捷键

操作效果使用位置
Ctrl + 滚轮向上 / 向下放大 / 缩小鼠标位于聊天消息或输入区
Ctrl + + / -放大 / 缩小输入区有焦点;或没有其他控件焦点且鼠标悬停聊天区
Ctrl + 0恢复 100%与上述键盘快捷键相同

加号支持 Ctrl + =、Ctrl + Shift + =;也支持小键盘加减号。普通滚轮与 Ctrl+C/V/Z 等编辑快捷键不会被接管。

Usage

Open Settings → 缩放 (Zoom):

Chinese UI labelMeaning
聊天倍率Select a chat zoom level from 80% to 200%
缩小 / 放大Zoom out / in by 10 percentage points
恢复 100%Reset to 100% and save this value
清除倍率记忆Reset to 100% and remove this plugin's saved preference

Changes take effect immediately. Clearing the preference does not delete chats, drafts, or other settings.

ShortcutActionWhere it works
Ctrl + wheel up / downZoom in / outPointer over the chat messages or input area
Ctrl + + / -Zoom in / outInput area focused; or no other control focused while the pointer is over the chat
Ctrl + 0Reset to 100%Same keyboard focus rules as above

The plus shortcut also accepts Ctrl + = and Ctrl + Shift + =. Numpad plus and minus are supported. Normal scrolling and editing shortcuts such as Ctrl+C/V/Z are not intercepted.