hotpot-labs/dsh-prompt-history-plugin ↗★ 0

dsh-prompt-history-plugin

输入框提示历史导航:用上下方向键像 shell 一样浏览已提交的提示。 适合习惯 shell 式历史浏览的用户,在输入框为空或光标在开头时可用。

套件
dsh-prompt-history-plugin
相容性
待驗證
Cordis 依賴範圍
^4.0.1
版本
0.1.0
授權
MIT
最近更新
2026年9月1日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hotpot-labs/dsh-prompt-history-plugin

Usage

  1. Open any conversation in dsh web.
  2. With the composer empty — or with the caret at the very beginning — press ↑ to fill in your most recent prompt; keep pressing ↑ to walk further back, and ↓ to walk forward again.
  3. With text in the composer, the first ↑ simply moves the caret to the beginning (default behavior); press ↑ again to enter history navigation. Your unfinished draft is stashed on entry.
  4. Press ↓ past the newest entry to restore the stashed draft (or an empty composer) and leave history navigation.
  5. While navigating, pressing any printable key, Enter, Backspace or Escape exits navigation mode (the key itself still works as usual).