This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:input-sources | |
{:hex {:input_source_id "com.apple.keylayout.UnicodeHexInput"}} | |
:main | |
[ | |
{:des "Emoji check - U+2764 for ❤ and U+FE0F for VARIATION SELECTOR-16 to render as ❤️" | |
:rules | |
[ | |
[:fn [{:input :hex} :spacebar :!E2 :!E7 :!E6 :!E4 :!Ef :!Ee :!E0 :!Ef ] ] | |
]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:des "Leader-key layer" | |
:rules [ | |
:!leader-layer | |
[:right_command :right_command nil {:alone [["leader-layer" 1][:noti :leader "leader-key"]] | |
:delayed {:invoked [["leader-layer" 0][:noti :leader]]} | |
:params {:delay 2000}}] | |
:leader-layer | |
[:s [["leader-layer-s" 1]["leader-layer" 0][:noti :leader "leader-key s"]]] | |
[{:any :key_code} [["leader-layer" 0][:noti :leader]]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; edn spec https://github.com/edn-format/edn | |
;; ! | means mandatory ;; # | means optional | |
;; F | fn ;; ## | optional any | |
;; C | left_command ;; Q | right_command | |
;; T | left_control ;; W | right_control | |
;; O | left_option ;; E | right_option | |
;; S | left_shift ;; R | right_shift | |
;; !! | mandatory command + control + optional + shift (hyper) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:main [;; | |
{:des "launch-mode activators" | |
:rules [ | |
:!launch-mode | |
[:slash [ "launch-mode" 1] nil {:afterup ["launch-mode" 0] :alone :slash}] | |
[:grave_accent_and_tilde [ "launch-mode" 1] nil {:afterup ["launch-mode" 0] :alone :grave_accent_and_tilde}] | |
[:backslash [ "launch-mode" 1] :corne {:afterup ["launch-mode" 0] :alone :backslash}] | |
;; .... | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:profiles | |
{:default {:default true | |
:sim 50 | |
:delay 50 | |
:alone 50 | |
:held 200} | |
} | |
:main [ | |
{:des "homerow to mods" | |
:rules [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:profiles | |
{:default { :default true | |
:sim 50 | |
:delay 50 | |
:alone 200 | |
:held 50} | |
} | |
:simlayers { | |
:my-f-mode {:key :f} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{; | |
:profiles {;; | |
:DefaultM1 {;; | |
:default true ;; | |
:sim 100 | |
:delay 80 | |
:alone 200 | |
:held 500 ;; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Rule for Spain n", | |
"rules": [ | |
{ | |
"description" : "right alt + n = ñ (German - Spanish-ISO mod)", | |
"manipulators" : [ { | |
"to_delayed_action" : { | |
"to_if_invoked" : [ { | |
"key_code" : "semicolon" | |
}, { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Rule for Spanish ñ", | |
"rules": [ | |
{ | |
"description" : "right alt + n = ñ", | |
"manipulators" : [ { | |
"to_delayed_action" : { | |
"to_if_invoked" : [ { | |
"key_code" : "semicolon" | |
}, { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; slightly modified solution from https://github.com/pqrs-org/Karabiner-Elements/issues/1926 | |
{:input-sources {:es {:input_source_id "com.apple.keylayout.Spanish"} | |
:abc {:input_source_id "com.apple.keylayout.ABC"}} | |
:main [; | |
{:des "right option + n = ñ" | |
:rules [[:!En {:input :es} nil {:delayed {:invoked [:semicolon {:input :abc}] :canceled {:input :abc}}}]] | |
}] | |
} |
NewerOlder