CTRL key based operation with Karabiner-Elements

Brisbane Web Developer - Apr 23 '22 - - Dev Community

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 to Command 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 with EventViewer 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>
Enter fullscreen mode Exit fullscreen mode

The File

References

. . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player