![]() In the macro itself, the mapping is performed by the actions coloured magenta at present the macro just remaps the pressed key to a different one, but you can change these actions to any other actions (such as launching an app for example) as you wish - that's up to you. If the numpad is in mapped mode (the section in teal), it replaces the pressed key with something else and executes it. If the numpad is in normal mode, then the macro just repeats the key that's been pressed (the section of the macro in green). This macro is triggered by the numpad keys (I've included 0 to 9 and the decimal point as well). (Both of these macros should be in you Global Macro Group, or equivalent.) ![]() I've called the macro Numpad Remapping and here it is to download: Next comes the macro that actually does the remapping, and this is where it gets "not pretty". I've set it to trigger when the Command-Enter keys are pressed. It basically sets a global variable to indicate whether the numpad keys are in remap mode or normal mode. I've called it Numpad Mode Switch and it looks like this: Please note: I'm not saying this is a solution to your requirement but it might help you find the answer to your question.įirst you need a macro to toggle the remapping. 1s) it is mapped back to the grave_accent_and_tilde key.I have an Apple Magic Keyboard with Numeric Keypad and KM does differentiate between the numpad keys and the others, so it is possible to remap them but it's not what I would call "pretty"! The grave_accent_and_tilde key has been mapped to escape by default and when held down (for >. I also quite like the escape key at the top left of the board, so I wrote a script that gives me the best of both worlds. In JS, the tilde is an operator and the grave accent is used for template strings - I use them a lot. IMO, one of the more annoying parts of working on a 60% keyboard as a developer is the loss of the tilde/grave accent keys. ![]() To address this need, press and hold fn (caps_lock) and press spacebar. I often use shift as a modifier for arrow keys, mostly for quickly moving elements in design programs. ![]() By holding caps, which has now been remapped to fn, I can use the wasd and ijkl keys as arrows. One of the main reasons caps_lock has been remapped to fn is so my fingers don't have to leave home row in order to use the arrow keys. I've chosen the right over left because I often press and hold the left key to modify the arrow keys. To address this, I've mapped the right_shift key, when held for 1.5 seconds, to caps_lock. Right Shift > Caps Lock (When Held)Įvery now and again, I need to enable caps lock - usually for formatting text when text-transform: uppercase is not an option. This is helpful for using awed and jikl keys as arrows. When pressed alone, it becomes the delete_or_backspace key. Rules Caps Lock > Delete/FNĬaps lock is used for a few things. Note: This file is read from top to bottom and the order of rules is very important. Feel free to use, abuse, comment, and improve. This repo contains my personal KE profile. One of the perks of using KE instead of saving my keyboard profile in my keyboard's memory is that I don't have to retrain my fingers when I leave my board at home - now my keybindings are consistent between my macbook pro and my mechanical board. But, with necessity being the mother of invention, I've leveraged Karabiner Elements to help bring some of this functionality back, while also adding new functionality to my mac keyboard. One of the trade-offs with this new board was a loss of functionality - like the lack of dedicated arrow keys. As someone who presses thousands of keys a day, I can't recommend a mechanical keyboard highly enough. In addition to the charming aesthetic it brought my desk, I also found the tactility of the board to be far superior when compared to the rubber dome keys I'd grown used to as a mac user. Not long ago, I purchased my first 60% keyboard.
0 Comments
Leave a Reply. |