mirror of
https://github.com/larstvei/nix-config.git
synced 2025-08-30 04:40:13 +00:00
Add symbol and navigation layer
This commit is contained in:
parent
f113e4d746
commit
92edcdc3c2
@ -8,27 +8,50 @@
|
|||||||
];
|
];
|
||||||
extraDefCfg = "process-unmapped-keys yes";
|
extraDefCfg = "process-unmapped-keys yes";
|
||||||
config = ''
|
config = ''
|
||||||
(defsrc
|
|
||||||
caps a s d f j k l ;
|
|
||||||
)
|
|
||||||
(defvar
|
(defvar
|
||||||
tap-time 150
|
tap-time 150
|
||||||
hold-time 200
|
hold-time 200
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(defsrc
|
||||||
|
e r
|
||||||
|
caps a s d f g h j k l ;
|
||||||
|
c v
|
||||||
|
)
|
||||||
|
|
||||||
(defalias
|
(defalias
|
||||||
caps (tap-hold 100 100 esc lctl)
|
;; home-row mods
|
||||||
a (tap-hold $tap-time $hold-time a lsft)
|
caps (tap-hold $tap-time $hold-time bspc lctl)
|
||||||
s (tap-hold $tap-time $hold-time s lalt)
|
a (tap-hold $tap-time $hold-time a lsft)
|
||||||
d (tap-hold $tap-time $hold-time d lmet)
|
s (tap-hold $tap-time $hold-time s lalt)
|
||||||
f (tap-hold $tap-time $hold-time f lctl)
|
d (tap-hold $tap-time $hold-time d lmet)
|
||||||
j (tap-hold $tap-time $hold-time j rctl)
|
f (tap-hold $tap-time $hold-time f lctl)
|
||||||
k (tap-hold $tap-time $hold-time k rmet)
|
j (tap-hold $tap-time $hold-time j rctl)
|
||||||
l (tap-hold $tap-time $hold-time l ralt)
|
k (tap-hold $tap-time $hold-time k rmet)
|
||||||
; (tap-hold $tap-time $hold-time ; rsft)
|
l (tap-hold $tap-time $hold-time l ralt)
|
||||||
|
; (tap-hold $tap-time $hold-time ; rsft)
|
||||||
|
|
||||||
|
;; layer-taps
|
||||||
|
g (tap-hold $tap-time $hold-time g (layer-while-held navigation))
|
||||||
|
h (tap-hold $tap-time $hold-time h (layer-while-held symbol))
|
||||||
)
|
)
|
||||||
|
|
||||||
(deflayer base
|
(deflayer base
|
||||||
@caps @a @s @d @f @j @k @l @;
|
e r
|
||||||
|
@caps @a @s @d @f @g @h @j @k @l @;
|
||||||
|
c v
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer navigation
|
||||||
|
e r
|
||||||
|
@caps @a @s @d @f @g left down up right @;
|
||||||
|
c v
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer symbol
|
||||||
|
S-[ S-]
|
||||||
|
@caps @a S-4 S-9 S-0 @g @h @j @k @l @;
|
||||||
|
[ ]
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user