by gradstudent · 9y ago · 0 comments
Amazing days.
Lately I only upgrade when forced. I ran 10.8 until earlier this year when I finally upgraded my machine. Then I spent a week trying to figure out how the hell to get gdb working again because binaries now require code signing and there's this horrible new thing called System Integrity Protection that tries to protect me from myself. They also took away my Escape key and replaced it with this TouchBar nonsens just because I wanted an i7 CPU. To put this into perspective: I practically live inside vim.
I'm doing this on Ubuntu, but there are ways to get it done on OSX too.
1. Wait a half-second after typing the "j". That causes the mapping to time out and you can type the "k" without a problem.
2. Type something like Dijj<del>kstra.
once installed, open the app, and go to the "complex modifications" tab. then click "add rule". then click "import more rules from the internet". on the web site that opens, expand "Modifier Keys". import "Change caps_lock key".
that'll give you a rule to do what you want in karabiner. (the rule is "Change caps_lock to control if pressed with other keys, to escape if pressed alone".)