Created
July 23, 2024 14:05
-
-
Save ulic-youthlic/fb0213470ff9add23c64991053b604a3 to your computer and use it in GitHub Desktop.
Kanata configuration for mapping `Capslock`.
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
#| | |
Kanata | |
CapsLock tap to Esc | |
CapsLock hold to Ctrl | |
|# | |
(defcfg | |
process-unmapped-keys no | |
) | |
(defsrc | |
caps | |
) | |
(deflayer default | |
@cac | |
) | |
(defalias | |
cac (tap-hold 200 200 esc lctrl) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is based on your modifications, and there are no problems now. The previous issue was because I didn't delete the content in the default kanata file, which resulted in multiple defsrcs. (I use version 1.7.0). Thank for your help. 😊