Compare commits

..

3 commits

View file

@ -9,6 +9,8 @@
FEEL FREE TO FORK!!!
|#
(defcfg
process-unmapped-keys yes
block-unmapped-keys yes
concurrent-tap-hold yes
movemouse-smooth-diagonals yes
)
@ -41,13 +43,18 @@
cho (chord ch o)
chs (chord ch s)
chd (chord ch d)
chf (chord ch f)
chj (chord ch j)
chk (chord ch k)
chl (chord ch l)
ch_lalt (chord ch lalt)
ch_ralt (chord ch ralt)
;; Hyper & Meh key definition for easier reading.
hyper (multi lmet lsft lctl lalt)
meh (multi lsft lctl lalt)
;; Remap Caps to Win+Space (Raycast activation)/Nav layer on hold, with double tap for Caps Lock toggle
navlayer (layer-while-held nav)
caps (tap-hold $tap-time $hold-time (tap-dance 200 ((multi lmet spc) caps)) @navlayer)
caps (tap-hold $tap-time $hold-time (tap-dance 200 ((multi lmet spc) @meh caps)) @navlayer)
;; Home row mods
a (tap-hold $tap-time $hold-time a lmet)
s (tap-hold $tap-time $hold-time s lalt)
@ -65,7 +72,7 @@
h (tap-hold $tap-time $hold-time h @fnkeys)
#|
MEH key when V or M are held down to allow for either hand to
use for Raycast shortcuts.
use for shortcuts.
|#
v (tap-hold $tap-time $hold-time v (multi lsft lctl lalt))
m (tap-hold $tap-time $hold-time m (multi lsft lctl lalt))
@ -82,18 +89,22 @@
(defchords ch $chord-time
(w ) w ;; W => W
( e) e ;; E => E
(w e) ret ;; W + E => Enter
(w e) XX ;; W + E => Enter
(i ) i ;; I => I
( o) o ;; O => O
(i o) bspc ;; I + O => Backspace
(i o) XX ;; I + O => Backspace
(s ) @s ;; S => S
( d) @d ;; D => D
(s d) tab ;; S + D => Tab
(k ) @k ;; K => K (See defalias)
( l) @l ;; L => L (See defalias)
(k l) esc ;; K + L => Escape
(lalt ) (tap-dance $tap-time ((multi lsft lctl lalt lmet) lalt)) ;; LCmd => Hyper Key, LCmd × 2 => LCmd
( ralt) (tap-dance $tap-time ((multi lsft lctl lalt lmet) ralt)) ;; RCmd => Hyper Key, RAlt × 2 => RCmd
(s d) enter ;; S + D => Tab
(f ) @f ;; F => F
(f d) tab ;; F + D => Tab
(j k) esc ;;
(j ) @j ;; J => J
(k ) @k
( l) @l
(k l) bspc
(lalt ) (tap-dance $tap-time (@hyper lalt)) ;; LAlt => Hyper Key, LAlt × 2 => LAlt
( ralt) (tap-dance $tap-time (@hyper ralt)) ;; LAlt => Hyper Key, LAlt × 2 => LAlt
#|
Put simply, the below line allows for toggling a no-bind
layer for when you may require a standard layout (such as
@ -108,15 +119,15 @@
(deflayer base
@caps
q @chw @che r t y u @chi @cho p
@a @chs @chd @f @g @h @j @chk @chl @scln
@a @chs @chd @chf @g @h @chj @chk @chl @scln
@z x c @v b n @m , . @/
@ch_lalt @spc @ch_ralt
)
;; Navigation layer
(deflayer nav
_
mbck (movemouse-up 3 3) mfwd _ _ _ mlft mrgt pgup pgdn
(movemouse-left 3 3) (movemouse-down 3 3) (movemouse-right 3 3) _ home left down up right end
mbck (movemouse-up 3 2) mfwd _ _ _ mlft mrgt (mwheel-up 50 120) (mwheel-down 50 120)
(movemouse-left 3 2) (movemouse-down 3 2) (movemouse-right 3 2) _ home left down up right end
_ _ _ _ _ _ _ _ _ _
_ _ _
)
@ -140,8 +151,8 @@
(deflayer symbol
_
S-1 S-2 S-3 S-4 S-5 S-6 S-7 S-8 S-9 S-0
- S-= S-[ S-] [ ] S-` S-scln S-\ \
= _ _ ` _ S-- _ _ ' S-'
S-\ = - S-= S-- ` S-` S-scln ' S-'
_ \ S-[ S-] S-, S-. [ ] _ _
_ _ _
)
;; Aformentioned standard layer with combo binds for toggling back
@ -157,7 +168,7 @@
(deflayer md
_
_ _ _ _ _ _ _ _ _ _
prev pp next mute vold volu brdn brup ins del
prev pp next mute _ _ vold volu brdn brup
_ _ _ _ _ _ _ _ _ _
_ _ _
)