Summary
Adapting to the MacBook Pro's Command key-centric layout was challenging after years of using my ThinkPad X1 Extreme Gen 2. To avoid the transition, I started using Karabiner-Elements.
Karabiner-Elements lets you:
- Remap keys to match your muscle memory
- Create complex shortcuts
- Customise per-app layouts
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)