yqrashawn / GokuRakuJoudo

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

Not able to get basic from and to working #165

Closed shriharip closed 2 years ago

shriharip commented 2 years ago

Hi,

Sorry for asking question here maybe, but my config is not working.

{
     ;; you can also find bundle_identifiers using command line:
     ;; osascript -e 'id of app "Google Chrome"'
     :applications {:vscode ["^com\\.microsoft\\.VSCode$"]}
     :main [{:des "Fn key to ShiftCommand" :rules [:fn [:left_command :left_shift]] }]
}

So basically inside the vs code, I want to map fn key to the left_command and Left shift. However, the above config just prints out "left_command" or sometimes prints out "s" instead.

I also tried others and the result is it just prints out the keycode

{
     ;; you can also find bundle_identifiers using command line:
     ;; osascript -e 'id of app "Google Chrome"'
     :applications {:vscode ["^com\\.microsoft\\.VSCode$"]}
     :main [{:des "Fn key to ShiftCommand" :rules [:!F [:!CS]] }]
}

{
     ;; you can also find bundle_identifiers using command line:
     ;; osascript -e 'id of app "Google Chrome"'
     :applications {:vscode ["^com\\.microsoft\\.VSCode$"]}
     :main [{:des "Fn key to ShiftCommand" :rules [:!F [:!C :!S]] }]
}

Thanks.

yqrashawn commented 2 years ago

You should change :rules [...] to :rules [[...]]