yqrashawn / GokuRakuJoudo

config karabiner with ease
GNU General Public License v3.0
1.16k stars 119 forks source link

how to make nested description? #81

Closed bangedorrunt closed 4 years ago

bangedorrunt commented 4 years ago

in karibiner, i could use

{
    "title": "hyper key",
    "rules": [
        {"description: "hyper key navigation"} ...,
        {"description: "hyper key to escape"}
        ...
    ]
}

and expect to see it in karabiner complex modification

hyper key
  - hyper key navigation
  - hyper key to escape

how to do so in goku?

yqrashawn commented 4 years ago

Goku don't support this. You can just use comment (start with ;) like this

{:des   "Emacs switch buffer"
              :rules [:Emacs
                      ;; .+tab as ctrl+tab
                      [:tab :!Ttab :period-mode]
                      ;; ,+tab as ctrl+shift+tab
                      [:tab :!TStab :comma-mode]]}
bangedorrunt commented 4 years ago

thank you, i just asked coz i wondered if i could miss a goku feature that allow me to do so, so the description in complex modification tab would be cleaner. no big deal!