yqrashawn / GokuRakuJoudo

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

Typo in tutorial "Command a to Control 1" example: missing ":rules" and "[]" #219

Closed jfhector closed 10 months ago

jfhector commented 1 year ago

Hello!

Thanks for a great tool and helpful docs and examples.

On the tutorial page, the "Command a to Control 1" example currently reads like this:

{:main [{:des "command a to control 1" [:!Ca :!T1]}]}

That doesn't compile. It needs to be corrected to:

{:main [{:des "command a to control 1" :rules [[:!Ca :!T1]]}]}

Note the addition of:

karimelhajoui63 commented 11 months ago

Hi,

there is the same for:

{:des "g to 4 when variable vi-mode is 1" :rules [:j :4 :vi-mode]} ;; vi-mode is 1

This should be:

{:des "g to 4 when variable vi-mode is 1" :rules [[:j :4 :vi-mode]]} ;; vi-mode is 1

(There is others like this in the exemple file)