ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 DJPalefaceSD

steering-wheel

用一個組合鍵在 Claude 回合中途調整方向。/steering-wheel 將 Ctrl+X Ctrl+X 設為立即送出等待中的訊息,提示字元下方也會顯示說明。

DJPalefaceSD@DJPalefaceSD

DJPalefaceSD/rostech-mods/tree/main/plugins/steering-wheel

已翻譯

關於這個 mod

Steering Wheel 讓你在 Claude 回合進行中連按兩次 Ctrl+X,立即送出已輸入的下一則訊息,即時調整工作方向。執行 /steering-wheel 會在你自己的 ~/.claude/keybindings.json 加入 Ctrl+X Ctrl+X 組合鍵,其餘設定保持不變,原本的 Ctrl+X Ctrl+S 仍可使用;提示文字會依按鍵設定檔顯示「tap Ctrl+X Ctrl+X to send now」。早期版本使用 F5(Claude Code 不接受功能鍵)與 Alt+Enter(Windows Terminal 用於全螢幕),因此改為能在各種終端機運作的 Ctrl+X Ctrl+X;若舊版留下 F5,或停用 Ctrl+X Ctrl+S,該命令也會一併清除。由於外掛無法自行綁定按鍵,只有在你執行命令時才會寫入按鍵設定檔。MIT 授權,由 Rostech 製作。

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install steering-wheel
原文 / README

Steering Wheel

Steer Claude mid-turn with one chord.

When Claude is working and you have typed your next message, Claude Code holds it until the turn ends. Steering Wheel lets you send it right away and steer the work. Press Ctrl+X, then Ctrl+X again.

What it does

  • /steering-wheel adds Ctrl+X Ctrl+X to your own ~/.claude/keybindings.json. That chord then sends a waiting message now.
  • Everything else in that file stays as you had it. The default chord, Ctrl+X Ctrl+S, keeps working too.
  • The hint under the prompt then reads tap Ctrl+X Ctrl+X to send now. It reads the key from your keybindings file, so if you change the key yourself, the hint follows.

Why not F5

Versions 0.1.1 and before used F5. Claude Code does not take function keys, so F5 did nothing. Version 0.1.0 used Alt+Enter, which Windows Terminal keeps for full screen. Ctrl+X Ctrl+X works in any terminal.

If an older version left F5 in your file, or switched Ctrl+X Ctrl+S off, /steering-wheel takes those two lines back out. It touches nothing else.

Notes

  • A plugin cannot bind keys by itself. Your keys live in your own keybindings file, which is why Steering Wheel writes there only when you run /steering-wheel.
  • Esc stays the stop button.

MIT licensed. Made by Rostech.

更多類似作品