Skip to content

Instantly share code, notes, and snippets.

@Dimentium
Created June 21, 2022 16:54
Show Gist options
  • Select an option

  • Save Dimentium/8d5d8cc034809fdb8d50bae49493ab4e to your computer and use it in GitHub Desktop.

Select an option

Save Dimentium/8d5d8cc034809fdb8d50bae49493ab4e to your computer and use it in GitHub Desktop.
Example of .edn for goku
;; 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