

- #Karabiner elements create own complex modifications code
- #Karabiner elements create own complex modifications plus
Another really good use for this is for Slack. Now, it does not matter which app I am in when I hit cmd+ t, it just pops me into the browser if I am not already in there and opens a new tab ready for me to type in a stupid query. I found my self hitting cmd+ t when I am in my editor to open a new tab to search for some stupid thing that I was supposed to know. Sometimes there is an action that you always do in a specific app, like open a new tab in a browser. It helps with quickly switching to the browser to check the docs and back with just hitting cmd+ shift+ k twice. Along with that, it retains which app I was on previously so that if I hit cmd+ shift+ k again when I am in firefox it switches me back to the app that I was on previously.
#Karabiner elements create own complex modifications plus
When I press, cmd+ shift+ k it focuses firefox if it is already open, if not launch it plus moves my cursor to the monitor in which it currently is on.

What I have for cmd+ shift+ k currently is a bit more involved. I just have j, k, l mapped to my text editor, browser and terminal respectively. From my personal collection I have cmd+ shift+ k to focus firefox.ītw, just in case for anyone who is wondering(as if anyone reads my blog) where the k for firefox comes from it does not stand for anything. You can map a keybinding to open/focus an app. and a lot of other things.Īgain, lets start with a bunch of simple things. It lets you move windows, rearrange spaces, click on things, type things out, check bluetooth, wifi, kbd, mouse status and notify. It is a way to control a lot of macOS "stuff" via lua. If you thought Karabiner-Elements was awesome, wait for Hammerspoon. You can check all kinds of configuration examples at. You can control your mouse with just the keyboard if you want to. For example I have it so that if I hold left shift and hit right shift it switches me to the right monitor and if I hold right shift and hit left shift it switches me to the left monitor.ītw, it can also control your mouse. It helps you from accidentally quitting something you were working in. You can make cmd+ q work only if you press and hold it and not just press it.

There are even more stuff that you can do with Karabiner-Elements. I don't have right ctrl as I have use it for something else plus even if I had it, it would be weird to reach that key. I have cmd+ hj k l to be my arrow keys for the most part.ītw, you can have any key do this, for example I have ' mapped to send ctrl when pressed with another key. But I don't use it that often, only if I only have one hand available like when watching Netflix while eating. I have to do this since I don't really have arrow keys on my keyboard (I use a 64 key keyboard). For example ctrl key send up arrow when hit alone. After that I mapped all modifier keys to something else when hit alone. But if you hold ctrl and hit a key like x, it will send out ctrl+ x. Well, the idea here is that if you just hit caps lock, it sends escape. You can actually map the caps lock key to esc and ctrl. It is kinda like qmk but works on a OS level.įor starters, it lets you do simple key remaps, for example you can remap caps lock to esc.

It lets you do key remaps, some seriously crazy useful remaps might I add. Karabiner-Elements #įirst item in the list is Karabiner-Elements. I use macOS, so some of these things will be more or less macOS specific. Almost all of them are interlinked in some way or the other. I am gonna break this into a bunch of categories, but they are just vague markers. With the "preface" done, lets get into the content.
#Karabiner elements create own complex modifications code
I don't think anything specifically will be all that useful, but wanted to give an idea on the kind of things that you can do.īefore we get into it, almost all of code for the things that gets mentioned in here will be available at meain/dotfiles. Well, I just wanted to mention a bunch of thing that I have in my workflow to make my life a bit less miserable. I did not want to keep this pending for next year and so started working on it. I was like, "too lazy today, tomorrow" and the year is almost over. I wanted to write something like this for quite some time.
