diff options
| author | kkard2 <[email protected]> | 2024-09-09 17:11:32 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2024-09-09 17:11:42 +0200 |
| commit | 214ea4f455b104f1c66e97e196f3690956b9f28f (patch) | |
| tree | 364a8d329e4d68837989af4e1f2c72c1dac39582 /kanata/kanata.kbd | |
| parent | 1b0b59303c2a6119b72acae792033f36eeb198bf (diff) | |
i will regret that (chords)
Diffstat (limited to 'kanata/kanata.kbd')
| -rw-r--r-- | kanata/kanata.kbd | 58 |
1 files changed, 25 insertions, 33 deletions
diff --git a/kanata/kanata.kbd b/kanata/kanata.kbd index b559d14..6cc3782 100644 --- a/kanata/kanata.kbd +++ b/kanata/kanata.kbd @@ -1,49 +1,41 @@ -#| -This minimal config changes Caps Lock to act as Caps Lock on quick tap, but -if held, it will act as Left Ctrl. It also changes the backtick/grave key to -act as backtick/grave on quick tap, but change ijkl keys to arrow keys on hold. - -This text between the two pipe+octothorpe sequences is a multi-line comment. -|# - -;; Text after double-semicolons are single-line comments. - -#| -One defcfg entry may be added, which is used for configuration key-pairs. These -configurations change kanata's behaviour at a more global level than the other -configuration entries. -|# - (defcfg - #| - This configuration will process all keys pressed inside of kanata, even if - they are not mapped in defsrc. This is so that certain actions can activate - at the right time for certain input sequences. By default, unmapped keys are - not processed through kanata due to a Windows issue related to AltGr. If you - use AltGr in your keyboard, you will likely want to follow the simple.kbd - file while unmapping lctl and ralt from defsrc. - |# process-unmapped-keys yes + concurrent-tap-hold yes + chords-v2-min-idle-experimental 200 ) (defsrc - caps - h j k l - lsft rsft + grv 1 2 3 4 5 6 7 8 9 0 - = bspc + tab q w e r t y u i o p [ ] \ + caps a s d f g h j k l ; ' ret + lsft z x c v b n m , . / rsft + lctl lmet lalt spc ralt rmet rctl ) (deflayer default - @cap - _ _ _ _ - _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ + @cap _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ ) (deflayer arrows - _ - left down up rght - _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ @crg _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ left down up rght _ _ _ + _ _ _ _ _ @cle _ _ _ _ _ _ + _ _ _ _ _ _ _ ) (defalias cap (tap-hold-press 200 200 esc (layer-toggle arrows)) + cle C-left + crg C-rght ) + +(include chords.kbd) + +;;(defchordsv2-experimental +;; (a s d) (macro h (unshift e) (unshift l) (unshift l) (unshift o)) 75 all-released (arrows) +;;) |
