diff --git a/kanata/deflayer/base_lt.kbd b/kanata/deflayer/base_lt.kbd index 5ec88fb..4c21649 100644 --- a/kanata/deflayer/base_lt.kbd +++ b/kanata/deflayer/base_lt.kbd @@ -8,15 +8,7 @@ @alt @nav @sym ) -;; Timing variables for tap-hold effects. -(defvar - ;; The key must be pressed twice in 200ms to enable repetitions. - tap_timeout 200 - ;; The key must be held 200ms to become a layer shift. - hold_timeout 200 - ;; Slightly higher value for tapying keys, to prevent unexpected hold effect. - long_hold_timeout 300 -) +;; Timing variables are defined in `kanata.kbd` file. (defalias ;; Main mod-tap: Nav layer when held, Space when tapped. diff --git a/kanata/deflayer/base_lt_hrm.kbd b/kanata/deflayer/base_lt_hrm.kbd index 49b8b0c..c1b9800 100644 --- a/kanata/deflayer/base_lt_hrm.kbd +++ b/kanata/deflayer/base_lt_hrm.kbd @@ -8,15 +8,7 @@ @sft @nav @sym ) -;; Timing variables for tap-hold effects. -(defvar - ;; The key must be pressed twice in 200ms to enable repetitions. - tap_timeout 200 - ;; The key must be held 300ms to become a layer shift. - long_hold_timeout 300 - ;; Slightly higher value for tapying keys, to prevent unexpected hold effect. - long_hold_timeout 300 -) +;; Timing variables are defined in `kanata.kbd` file. (defalias ;; Main mod-tap: Nav layer when held, Space when tapped. diff --git a/kanata/kanata.kbd b/kanata/kanata.kbd index dbe4488..705001a 100644 --- a/kanata/kanata.kbd +++ b/kanata/kanata.kbd @@ -11,6 +11,15 @@ ;; Live-reload the configuration with Space+Backspace (requires layer-taps). +;; Timing variables for tap-hold effects. +(defvar + ;; The key must be pressed twice in 200ms to enable repetitions. + tap_timeout 200 + ;; The key must be held 200ms to become a layer shift. + hold_timeout 200 + ;; Slightly higher value for typing keys, to prevent unexpected hold effect. + long_hold_timeout 300 +) ;;----------------------------------------------------------------------------- ;; Original key arrangement on your keyboard: Mac or PC.