Summary
Recently, I got a MacBook Pro and used Karabiner-Elements to customise the keyboard because I had been using X1E2 with Kubuntu for a few years, and I no longer used to use the command key-based operation.
About Karabiner-Elements Rule
I use another Simple modification to replace
Option
toCommand
with the Rule in this post.When you want to target a specific application to apply the keyboard manipulation, you need to figure out the value for
bundle_identifiers
called Bundle Identifier.You can find Bundle Identifier on the terminal as follows (
com.microsoft.VSCode
is it in this example), but it is easier to figure out withEventViewer
provided by Karabiner-Elements instead:
grep -A 2 "Identifier" /Applications/Visual\ Studio\ Code.app/Contents/Info.plist
======
<key>CFBundleIdentifier</key>
<string>com.microsoft.VSCode</string>
Top comments (0)