DEV Community

Brisbane Web Developer
Brisbane Web Developer

Posted on • Updated on

CTRL key based operation with Karabiner-Elements

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 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

Top comments (0)