ping1999/dsh-minimap0

dsh-minimap

VS Code-style minimap (text thumbnail + draggable viewport) overlay for the dsh web GUI's side file viewer

包名
dsh-minimap
版本
0.3.2
许可证
MIT
最近更新
2026年8月29日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ping1999/dsh-minimap

使用

打开任意会话,在右侧 Files 侧栏打开一个文本文件,编辑器右缘即出现缩略图:

  • 滚动编辑器 → 缩略图视口框同步移动
  • 点击缩略图任意位置 → 编辑器跳转到对应位置(视口居中)
  • 按住视口框拖动 → 编辑器跟随滚动(鼠标与触屏均可)
  • 悬停缩略图滚轮 → 等效于滚动编辑器(含触控板横向滚动)

Usage

Open any session, open a text file in the Files sidebar, and the minimap appears at the editor's right edge:

  • Scroll the editor → the viewport box follows
  • Click anywhere on the minimap → jump there (the viewport centers)
  • Drag the viewport box → the editor scrolls along (mouse or touch)
  • Hover the minimap and use the wheel → same as scrolling the editor (trackpad horizontal scroll included)