ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 DJPalefaceSD

horn

1 つのキーコンビネーションですぐ送信。ホーンを軽く鳴らすように使えます。

DJPalefaceSD@DJPalefaceSD

DJPalefaceSD/rostech-mods/tree/main/plugins/horn

翻訳済み

この mod について

Horn

1 つのキーコンビネーションですぐ送信。ホーンを軽く鳴らすように使えます。

Claude が作業中に次のメッセージを入力すると、Claude Code はターン終了まで保持します。Horn ならすぐ送信できます。Ctrl+X、続けてもう一度 Ctrl+X を押します。

機能

  • /horn は自分の ~/.claude/keybindings.json に Ctrl+X Ctrl+X を追加し、その組み合わせで待機中のメッセージを送信できるようにします。
  • ファイル内の他の設定はそのままです。デフォルトの Ctrl+X Ctrl+S も動作します。
  • プロンプト下のヒントは tap Ctrl+X Ctrl+X to send now になります。キー設定ファイルのキーを読むため、自分で変更するとヒントも追随します。

F5 ではない理由

この mod は以前 Ignition と呼ばれ、F5 を使っていました。しかし Claude Code はファンクションキーを受け付けないため、F5 は何もしません。Ctrl+X Ctrl+X はどのターミナルでも動作します。旧版がファイルに F5 を残した場合、または Ctrl+X Ctrl+S を無効にした場合、/horn はその 2 行を削除します。他は変更しません。

注意

プラグインだけではキーを割り当てられません。キーは自分の keybindings ファイルにあるため、Horn は /horn を実行したときだけそこへ書き込みます。Esc は引き続き停止ボタンです。

MIT ライセンス、Rostech 製。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

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

Horn

One chord to send now. Like a tap on the horn.

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

What it does

  • /horn 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

This mod used to be called Ignition, and it used F5. Claude Code does not take function keys, so F5 did nothing. Ctrl+X Ctrl+X works in any terminal.

If an older version left F5 in your file, or switched Ctrl+X Ctrl+S off, /horn 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 Horn writes there only when you run /horn.
  • Esc stays the stop button.

MIT licensed. Made by Rostech.

同名の他の作品

関連作品