Advanced Text Editing Using Karabiner & macOS KeyBindings
I’ve always wanted some of the fancy keybindings I have in VS Code across my entire macOS experience. Additionally, ever since I discovered back/forward for code navigation in VS Code I wanted to bind my mouse keys to these shortcuts. I ended up digging into Karabiner and the native macOS keybindings. Here are my notes! Most of the resulting code is here. macOS Keybindings Here are some notes about what I learned about this hidden macOS feature: There are a set of special commands that control the native cocoa text system. You can combine these commands and tie them to keyboard shortcuts, but they only work in apps that use the native cocoa text system (not Chrome, for example!)…
Continue Reading