### Install macSKK with Custom Homebrew Cask Source: https://github.com/mtgto/macskk/blob/main/docs/guide/install.md Install macSKK using a custom Cask definition for immediate access to the latest releases, often updated via GitHub Actions. ```shell brew install --cask mtgto/macskk/macskk ``` -------------------------------- ### Install macSKK with Homebrew Cask Source: https://github.com/mtgto/macskk/blob/main/README.md Use Homebrew Cask to install macSKK on your macOS system. Ensure Homebrew is installed before running this command. ```bash brew install --cask macskk ``` -------------------------------- ### Build and Release macSKK Source: https://github.com/mtgto/macskk/blob/main/README.md Steps to build and release a new version of macSKK. This includes updating the version, cleaning the build, creating a release, and uploading artifacts to GitHub. ```bash make clean && make release ``` -------------------------------- ### 対応フォーマット Source: https://github.com/mtgto/macskk/blob/main/docs/config/dictionary.md macSKKが対応している辞書ファイルのフォーマットです。SKK辞書形式(EUC-JP, UTF-8)およびJSON形式に対応しています。gzip圧縮ファイルも読み込み可能です。 ```text SKK辞書形式 (EUC-JP) ○ ``` ```text SKK辞書形式 (UTF-8) ○ ``` ```text JSON形式 ○ ``` ```text YAML形式 × ``` -------------------------------- ### Kanji Conversion (No Suffix) Source: https://github.com/mtgto/macskk/blob/main/docs/guide/install.md Initiate Kanji conversion by holding Shift while typing the first character of the reading. Press Space to cycle through candidates. ```text Nihon → ▽にほん → Space → 日本 Kanji → ▽かんじ → Space → 漢字 ``` -------------------------------- ### デフォルトルールの継承 Source: https://github.com/mtgto/macskk/blob/main/docs/config/kana-rule.md デフォルトのローマ字かな変換ルールを読み込んだ上で、差分のみを定義する場合に使用します。この行をルールファイルの先頭に記述します。 ```conf #!use-default ``` -------------------------------- ### SKKServ辞書設定項目 Source: https://github.com/mtgto/macskk/blob/main/docs/config/dictionary.md SKKServを辞書として使用するための設定項目です。アドレス、ポート番号、エンコーディングなどを設定します。ベータ機能であり、yaskkserv2でのみ動作確認が行われています。 ```text アドレス / Address IPv4、IPv6、またはホスト名。例: localhost, 127.0.0.1, ::1 ``` ```text TCPポート番号 / TCP Port 通常は 1178 ``` ```text 応答エンコーディング / Response Encoding 通常はEUC-JP(実装によってはUTF-8) ``` ```text ユーザー辞書に変換履歴を保存する Google Japanese Inputなどを参照するskkservでユーザー辞書には保存したくない場合はオフにしてください ``` ```text 補完候補を検索する 使用するskkservが補完検索に対応している場合のみ有効にしてください ``` ```text 無効化に必要な連続エラーの回数 / The number of consecutive errors required to disable 連続してエラーになった場合に自動的にskkservの参照を無効化する回数 ``` -------------------------------- ### Configure Wezterm to forward CTRL+J to IME Source: https://github.com/mtgto/macskk/blob/main/docs/faq.md Add CTRL to `macos_forward_to_ime_modifier_mask` in your Wezterm configuration to allow C-j to switch to hiragana mode. ```lua config.macos_forward_to_ime_modifier_mask = "SHIFT|CTRL" ``` -------------------------------- ### ルールファイルの基本書式 Source: https://github.com/mtgto/macskk/blob/main/docs/config/kana-rule.md ローマ字かな変換ルールファイルの基本的な行の書式を定義します。入力文字列、ひらがな、カタカナ、半角カナ、未確定ローマ字の各要素をカンマ区切りで指定します。 ```conf 入力文字列,ひらがな[,カタカナ[,半角カナ[,未確定ローマ字]]] ``` -------------------------------- ### Karabiner-Elements configuration for Terminal/iTerm2 Source: https://github.com/mtgto/macskk/blob/main/docs/faq.md Use this JSON configuration to map C-j to the 'japanese_kana' key code in Terminal and iTerm2 when macSKK is active. Place this file at `~/.config/karabiner/assets/complex_modifications/macskk.json`. ```json { "description": "macSKK for Terminal/iTerm2", "manipulators": [ { "conditions": [ { "bundle_identifiers": [ "^com\.googlecode\.iterm2", "^com\.apple\.Terminal" ], "type": "frontmost_application_if" }, { "input_sources": [ { "input_source_id": "^net\.mtgto\.inputmethod\.macSKK\.(ascii|hiragana|katakana|hankaku|eisu)$" } ], "type": "input_source_if" } ], "from": { "key_code": "j", "modifiers": { "mandatory": ["left_control"] } }, "to": [ { "key_code": "japanese_kana" } ], "type": "basic" } ] } ``` -------------------------------- ### AZIKルールファイルテンプレート Source: https://github.com/mtgto/macskk/blob/main/docs/config/kana-rule.md AZIK入力方式用のローマ字かな変換ルールファイルのテンプレートです。JIS配列とUS配列のそれぞれに対応したファイルが提供されています。 ```conf # AZIK JIS配列用ルールファイルテンプレート # (詳細は macSKK/kana-rule-azik.conf を参照) ``` ```conf # AZIK US配列用ルールファイルテンプレート # (詳細は macSKK/kana-rule-azik-us.conf を参照) ``` -------------------------------- ### シフトキー割り当ての定義例 Source: https://github.com/mtgto/macskk/blob/main/docs/config/kana-rule.md 特定のキーをシフト入力として扱うように設定する方法を示します。2つ目の要素に `` とキー名を指定します。 ```conf +,; ``` -------------------------------- ### ファイル辞書フォルダのパス Source: https://github.com/mtgto/macskk/blob/main/docs/config/dictionary.md 辞書フォルダにSKK辞書ファイルを配置します。このフォルダ内のファイルが一覧表示され、管理できます。 ```text ~/Library/Containers/net.mtgto.inputmethod.macSKK/Data/Documents/Dictionaries ``` -------------------------------- ### Kanji Conversion (With Suffix) Source: https://github.com/mtgto/macskk/blob/main/docs/guide/install.md Convert Kanji with suffixes by holding Shift while typing the first character of the suffix. This distinguishes between similar readings. ```text KaKu → ▽か*く → 書く (「か」が読み、「く」が送り仮名) OKi → ▽お*き → 置き ``` -------------------------------- ### 送り仮名付きルールの定義例 Source: https://github.com/mtgto/macskk/blob/main/docs/config/kana-rule.md 送り仮名付きのルールを定義する方法を示します。2つ目の要素に `` を含めることで、特定の送り仮名との組み合わせを扱えます。 ```conf gq,がい ``` -------------------------------- ### ルールファイルの例 Source: https://github.com/mtgto/macskk/blob/main/docs/config/kana-rule.md 特定のキー入力に対する変換ルールを定義する例です。この例では、'tt' を入力すると「っ」に変換され、't' が未確定ローマ字として残ります。 ```conf tt,っ,ッ,ッ,t ``` -------------------------------- ### 特殊な記述の例 Source: https://github.com/mtgto/macskk/blob/main/docs/config/kana-rule.md ルールファイル内でカンマやシャープ記号をリテラルとして使用するための特殊な記述方法を示します。 ```conf # コメント行 , # カンマを表す ♯ # シャープを表す ``` -------------------------------- ### ユーザー辞書の保存場所 Source: https://github.com/mtgto/macskk/blob/main/docs/config/dictionary.md ユーザー辞書は自動的に保存され、指定されたパスで直接編集できます。未保存の内容は強制終了時に失われる可能性があります。 ```text ~/Library/Containers/net.mtgto.inputmethod.macSKK/Data/Documents/Dictionaries/skk-jisyo.utf8 ``` -------------------------------- ### Log Message Format Source: https://github.com/mtgto/macskk/blob/main/docs/config/log.md Each log entry follows a standard format: [Timestamp] [Level] Message. This helps in quickly identifying the time, severity, and content of the log. ```text [日時] [レベル] メッセージ ``` -------------------------------- ### Basic Hiragana Input Source: https://github.com/mtgto/macskk/blob/main/docs/guide/install.md Type Roman characters in Hiragana mode to produce Hiragana output. ```text nihongo → にほんご ``` -------------------------------- ### User Dictionary Deletion Confirmation Source: https://github.com/mtgto/macskk/blob/main/docs/features/word-registration.md When a conversion candidate is selected, press Shift-x to enter the deletion confirmation screen. Type 'yes' and press Enter to delete the entry, or 'no' or Esc/C-g to cancel. Currently, only user dictionary entries are subject to deletion. ```text (よみ) /(変換結果)/ を削除します(yes/no) ``` -------------------------------- ### Increment Build Number Source: https://github.com/mtgto/macskk/blob/main/README.md Increment the build number for development versions of macSKK. This can be done manually in Xcode or using the agvtool command. ```bash agvtool next-version ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.