Created
June 21, 2022 16:54
-
-
Save Dimentium/8d5d8cc034809fdb8d50bae49493ab4e to your computer and use it in GitHub Desktop.
Example of .edn for goku
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) | |
| { | |
| :main [ | |
| {:des "My rules" | |
| :rules [ | |
| ;; caps_lock remap to escape when pressed alone and to left_control then hold | |
| [:caps_lock :left_control nil {:alone :escape}] | |
| ;; disable left_command + d | |
| [:!Cd :vk_none] | |
| ;; disable right_command + d | |
| [:!Qd :vk_none] | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment