Now copy and paste the following JSON into the new file: You can name it whatever you like - but add a. Now you can open your text editor of choice and create a new file inside ~/.config/karabiner/assets/complex_modifications. Once you’ve installed Karabiner, open it and run it. Change Caps Lock to Control only in your terminal application.Change Caps Lock to Command in all applications except your terminal application. Through Karabiner’s “complex modifications” section, we can write a little configuration file which achieves the following goals: Karabiner (or more specifically, Karabiner-Elements, is a macOS application which emulates a keyboard device, and allows deep customization. I talked about this in a previous blog post, where I used iTerm and some shortcut trickery to send ctrl-codes to my terminal whenever it received command key shortcuts. My HHKB has a Control key where you’d expect to find a Caps Lock key (which is great, by the way), so using a standard Mac keyboard on my laptop is jarring. One of the larger reasons I find myself switching between OSes, and away from macOS in particular, is its inability to play nice with non-standard keyboard layouts.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |