I absolutely love the new complex rules. It's so nice to have vi-like hjkl arrows again. Thank you @tekezo 👌
Anyway, I'm wondering if it's possible to modify this complex rule to post escape when right_command is pressed alone?
I'm also missing the left_control+delete to forward delete on external keyboards, so I was thinking of adding this as a complex rule as well.
Is it possible to import my own complex rule files? Also if anyone has any advice on how to achieve the above via complex rules?
PS. If there's a better forum for questions like this, I apologize!
Seems the readme doesn't cover the new syntax fully, but it will point you to the correct file, ~/.config/karabiner/karabiner.json, and the syntax is easy to figure out just looking at existing/example rules. Then just duplicate segments and change them to do what you want.
Just wonder if there is any chance to bring a half-qwerty layout to karabiner elements using these custom complex modifications? It's about mirroring the keyboard while keys are pressed together with the spacebar. It requires changing spacebar into a modifier for the alphanumerics.
Does these new custom complex rules enable us to create a toggle NumLock rule set to enable and toggle between TK keyboards like CoolerMaster Masterkeys M which mix the nav keys with numpad keys?
I'm not updating to Sierra (and High Sierra), because of Karabiner. I need to create several complex custom rules that I almost depend on:
private.xml.zip
I work in MacOS, Windows in RDP (Jump Desktop) and Windows in VM (Parallels) simultaneously. Before Karabiner it was a nightmare, so I unified all modifiers keys to work like Windows. And now I want to convert them to Karabiner Elements.
As far as I understand, Elements now can only import complex rules prepared by you from your site only.
@pablomedok karabiner.json is the new private.xml, that's where imported rules end up when enabled in the GUI, and it's where you can compose your own as well.
My post escape problem was addressed in #553 by this custom complex rule 👌
Still curious how I can implement left_control+delete to forward delete for non macbook keyboards though?
@pablomedok that's not the case at all, you can just edit ./files/complex_modifications_rules_example.json in this project and then build the dmg yourself and they will all show up in the examples and you can just add them yourself.
You can also copy the import url format from the official hosted ones and point them towards local files with url format file:///Users/your-name/your_file.json
like this:
Pasting the karabiner:// link into Chrome's address bar tries to google search though. Whereas if you setup as an HTML link on a page, then clicking it properly triggers karabiner. Maybe this depends on the browser though?
Are you sure the link is well formed? Using chrome, opera, or safari I am
able to paste links directly and have the intended effect.
Hmm, maybe it's a browser setting in Chrome?
karabiner://karabiner/assets/complex_modifications/import?url=https://misc.jesseleite.com/karabiner/basic-caps-vi-mode.json
When I paste that in Chrome it tries to perform a google search, but when I paste it in Safari it asks to open Karabiner.
You need to URL encode the url, look at my example again.
use javascript\node console:
encodeURIComponent('https://misc.jesseleite.com/karabiner/basic-caps-vi-
mode.json')
so
https%3A%2F%2Fmisc.jesseleite.com%2Fkarabiner%2Fbasic-caps-vi-mode.json
and
On Thu, Jul 13, 2017 at 4:13 PM, Jesse Leite notifications@github.com
wrote:
Hmm, maybe it's a browser setting in Chrome?
karabiner://karabiner/assets/complex_modifications/import?url=https://misc.jesseleite.com/karabiner/basic-caps-vi-mode.json
When I paste that in Chrome it tries to perform a google search, but when
I paste it in Safari it asks to open Karabiner.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tekezo/Karabiner-Elements/issues/803#issuecomment-315226747,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGFOBaRJQaOdFcQTvnrntehGI8J02NZEks5sNqR_gaJpZM4OK5Go
.
thanks, i'll try
Sorry for the very Newbie question, but I am finding it hard to follow the discussion. I want to create a complex rule to map Caps Lock to the following Shift Command M, and have that setup in Outlook only. How do I do that? I am not able to find a way to create a custom complex rule or way to edit an existing one.
@pkrawczyk89 I had the same thought about implementing a half-keyboard with Karabiner Elements. Check out what Crackle did; it's a layout that adds two new meta keys via complex rules.
You can see the config file for here: karabiner.json. Basically, there's a variable used as a flag for each modifier key that's checked in key binding. You could use the same technique for a half-keyboard, it's just a matter of changing each of the individual key bindings for every key and using a different modifier.
I'm just getting started with Karabiner-Elements. Coming from Karabiner I had a mapping that worked great to change the keys used with a Logitech keyboard to switch from mirroring to extended display. Same result you would get with control+f1 on a standard Mac keyboard which I remapped it to f7. Is there an equivalent option?
I just wrote up a post about my finished complex modification here. Keep the great discussion going, but I'm going to close my issue because my original issue is solved 👍
@pkrawczyk89 @pimlottc I implemented a half-QWERTZ layout for KE and opened a PR: https://github.com/pqrs-org/KE-complex_modifications/pull/251. Once accepted and published, it can be installed from the UI.
To test custom complex rules, take a look at https://github.com/pqrs-org/KE-complex_modifications#local-testing
I'm trying to map left-control+left-click to just left click, how do I map that? or can someone map one for me so I can import it? thanks! I have a Mac Sierra 10.
The GUI needs to be updated to make the process for editing the json file more clear.
Can someone explain how I can create a complex rule? (i need to map FN to command+option)
@allthetime is there a way to create a link in HTML file with out creating a separate file in addition to the text in the HTML file?
@esseti you want to add your own JSON files to ~/.config/karabiner/assets/complex_modifications/. If you look at the examples already in that directory (if you have installed any through the GUI) you'll see how it's done. After adding your JSON file there, you'll need to enabled it in the GUI.
Most helpful comment
Seems the readme doesn't cover the new syntax fully, but it will point you to the correct file,
~/.config/karabiner/karabiner.json, and the syntax is easy to figure out just looking at existing/example rules. Then just duplicate segments and change them to do what you want.