このサイトはWebfile便で作成しました利用はこちら

Karabiner-Elements × Goku(極楽浄土)セットアップ記録

Single HTML Copyable Code

成果物

config/karabiner.edn(折りたたみ・コピー可)

最初は閉じています。開く ▸ をクリック → 右上の コピー で全文コピーできます。
📄 ~/.config/karabiner.edn を表示


{
 ; https://github.com/yqrashawn/GokuRakuJoudo/blob/master/examples.org#same-key-in-different-mode-from-nikitavoloboevs-config
 ; 上記を参考にしたが、qmkの以下の設定に近いと感じた!
 ; 単押しを、素早くする必要がある 
 ; #define TAPPING_TERM 200
 ; #degfine IGNORE_MOD_TAP_INTERRUPT
 :profiles {:Default {:default true
                      :sim 50
                      :delay 80
                      :alone 150
                      :held 70
                      }}

 :simlayers {
            :layer-one-l {:key :f }
            :layer-one-r {:key :l }
            :layer-two-l {:key :d }
            :layer-two-r {:key :semicolon }
            }

 :main [
        {:des "Tap-Holds"
         :rules [
                 [:spacebar :left_control nil {:alone :y}],
                 [:right_command :right_control nil {:alone :n}],
                 [:g :left_shift nil {:alone :f}],
                 [:k :right_shift nil {:alone :h}],
                 [:s :left_command nil {:alone :i}],
                 [:quote :right_command nil {:alone :l}],
                 [:a :left_option nil {:alone :e}],
                 [:backslash :right_option nil {:alone :spacebar}],
                 ]}
        {:des "layer-one-r"
         :rules [:layer-one-r
                 ;; 左側1段
                 [:##w :!S8]
                 [:##e :!S3]
                 [:##r :!S4]
                 [:##t :!Scomma]
                 ;; 左側2段
                 [:##left_control :!Sslash]
                 [:##a :!S1]
                 [:##s :comma]
                 [:##d :period]
                 ;; [:##f :japanese_eisuu]
                 [:##f :!Tsemicolon]
                 [:##g :equal_sign]
                 ;; 左側3段
                 [:##x :!S5]
                 [:##c :!S7]
                 [:##v :international1]
                 ;; 左側4段
                 [:##japanese_eisuu :!Shyphen]
                 [:##spacebar [:semicolon]]
                 ]}
        {:des "layer-one-l"
         :rules [:layer-one-l
                 ;; 右側1段
                 [:##i :!Speriod]
                 [:##o :backslash]
                 [:##p :!S9]
                 [:##open_bracket :!S0]
                 ;; 右側2段
                 [:##k :!Sequal_sign]
                 ; [:##l :japanese_kana]
                 [:##l :!Tsemicolon]
                 [:##semicolon :!Sopen_bracket]
                 [:##quote :!Sclose_bracket]
                 [:##backslash :!Ssemicolon]
                 [:##return_or_enter :semicolon]
                 ;; 右側3段
                 [:##slash :open_bracket]
                 [:##international1 :close_bracket]
                 ;; 右側4段
                 [:##right_command :hyphen]
                 [:####fn :!Sbackslash]
                 ]}
        {:des "layer-two-r"
         :rules [:layer-two-r
                 ;; 左側1段
                 [:##w :1]
                 [:##e :2]
                 [:##r :3]
                 [:##t :!Squote]
                 ;; 左側2段
                 [:##left_control :tab]
                 [:##a :0]
                 [:##s :4]
                 [:##d :5]
                 [:##f :6]
                 [:##g :grave_accent_and_tilde]
                 ;; 左側3段
                 [:##x :7]
                 [:##c :8]
                 [:##v :9]
                 ;; 左側4段
                 [:##japanese_eisuu :9]
                 [:##spacebar :!S2]
                 ]}
        {:des "layer-two-l"
         :rules [:layer-two-l
                 ;; 右側1段
                 [:##i :quote]
                 [:##o :!TStab]
                 [:##p :!Ttab]
                 [:##open_bracket :!Cequal_sign]
                 ;; 右側2段
                 [:##k :left_arrow]
                 [:##l :down_arrow]
                 [:##semicolon :up_arrow]
                 [:##quote :right_arrow]
                 [:##backslash :escape]
                 [:##return_or_enter :slash]
                 ;; 右側3段
                 [:##period [:spacebar :t :p]]
                 [:##slash [:spacebar :t :n]]
                 [:##international1 :!Chyphen]
                 ;; 右側4段
                 [:##right_command :grave_accent_and_tilde]
                 [:####fn [:spacebar :t :p]]
                 ]}
        {:des "DEFAULT"
         :rules [
                 ;; 左側1段
                 [:##tab :vk_none]
                 [:##q :q]
                 [:##w :w]
                 [:##e :u]
                 [:##r :p]
                 [:##t :v]
                 ;; 左側2段
                 [:##left_control :q]
                 [:##a :e]
                 [:##s :i]
                 [:##d :a]
                 [:##f :o]
                 [:##g :f]
                 ;; 左側3段
                 [:##left_shift :vk_none]
                 [:##z :vk_none]
                 [:##x :z]
                 [:##c :c]
                 [:##v :semicolon]
                 [:##b :vk_none]
                 ;; 左側4段
                 [:##caps_lock :vk_none]
                 [:##left_option :vk_none]
                 [:##left_command :vk_none]
                 [:##japanese_eisuu :return_or_enter]
                 [:##spacebar :y]

                 ;; 右側1段
                 [:##y :vk_none]
                 [:##u :vk_none]
                 [:##i :x]
                 [:##o :t]
                 [:##p :d]
                 [:##open_bracket  :s]
                 [:##close_bracket :r]
                 ;; 右側2段
                 [:##h :vk_none]
                 [:##j :vk_none]
                 [:##k :h]
                 [:##l :j]
                 [:##semicolon :k]
                 [:##quote :l]
                 [:##backslash :spacebar]
                 [:##return_or_enter :r]
                 ;; 右側3段
                 [:##n :vk_none]
                 [:##m :vk_none]
                 [:##comma :vk_none]
                 [:##period :m]
                 [:##slash :g]
                 [:##international1 :b]
                 [:##right_shift :x]
                 ;; 右側4段
                 [:##japanese_kana :semicolon]
                 [:##right_command :n]
                 [:####fn :m]
                 ]}
        ]}
          
※ 内容は添付ファイルをそのまま埋め込み表示しています。

ノーマルキーボード

apple keyboard

keyboard-topの剥がし方

  1. 下からカッターナイフで半分だけ浮かす
  2. ピンセットで下方向にスライドさせながら、外す
  3. 以下でイメージをつける

極楽浄土(goku)

  1. Karabiner のアプリの Profile から Default を追加する
  2. 以下でインストール
brew install yqrashawn/goku/goku
# シンボリックリンク貼ってたら不要
touch ~/.config/karabiner.edn
(編集)
goku

参考情報

極楽浄土(goku)の調査

雑記

参考

▲ ページ先頭へ