hotpot-labs/dsh-prompt-history-plugin ↗★ 0
dsh-prompt-history-plugin
输入框提示历史导航:用上下方向键像 shell 一样浏览已提交的提示。 适合习惯 shell 式历史浏览的用户,在输入框为空或光标在开头时可用。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hotpot-labs/dsh-prompt-history-plugin說明文件
閱讀完整 README ↗Usage
- Open any conversation in dsh web.
- 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.
- 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.
- Press ↓ past the newest entry to restore the stashed draft (or an empty composer) and leave history navigation.
- While navigating, pressing any printable key, Enter, Backspace or Escape exits navigation mode (the key itself still works as usual).