Last active
May 12, 2025 18:05
-
-
Save tridungpham/ca8b3d8a5af8484eb2aeb4303f7a2969 to your computer and use it in GitHub Desktop.
Kanata keymap config for HHKB - hold ctrl as ctrl, tap as esc
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
(defcfg | |
process-unmapped-keys yes | |
concurrent-tap-hold yes | |
) | |
(defalias | |
escctrl (tap-hold-press 200 200 esc lctrl) | |
a-hold (tap-hold 200 200 a (layer-toggle vim-motion-meta)) | |
) | |
(defsrc | |
lctrl | |
a h j k l | |
lalt lmeta | |
) | |
(deflayer base | |
@escctrl | |
@a-hold _ _ _ _ | |
lmeta lalt | |
) | |
(deflayer vim-motion-meta | |
_ | |
_ lft down up right | |
_ _ | |
) | |
(defvar | |
;; Note: consider using different time values for your different fingers. | |
;; For example, your pinkies might be slower to release keys and index | |
;; fingers faster. | |
tap-time 200 | |
hold-time 150 | |
left-hand-keys ( | |
q w e r t | |
a s d f g | |
z x c v b | |
) | |
right-hand-keys ( | |
y u i o p | |
h j k l ; | |
n m , . / | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment