
A Raycast extension to retype accidentally typed romaji text into Japanese Kana without deleting it.

[!IMPORTANT] This extension is specifically designed for macOS Japanese IME with an Apple JIS Keyboard (featuring the dedicated "Kana" [かな] key, key code 104).
nihongo).Retype Selection as Kana command (assigning a global hotkey is recommended; the demo uses ⌃⇧K).getSelectedText().keystroke. The first keystroke overwrites the selected text.| Scenario | Behavior |
|---|---|
| No text selected | Shows HUD: "Please select text" |
| Contains whitespace (space, tab, newline) | Shows HUD warning (whitespace triggers IME conversion or focus changes) |
| Contains non-ASCII characters (full-width, kana, kanji) | Shows HUD warning without sending keystrokes |
| Permission missing | Shows HUD prompting to check System Settings permissions |
Switches to Japanese Kana mode and retypes the selected text, leaving it unconfirmed