Skip to content

Commit

Permalink
Add user keymap (iTzHard)
Browse files Browse the repository at this point in the history
  • Loading branch information
iTzHard committed Jan 11, 2022
1 parent 32bf49e commit 81c4e9e
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
6 changes: 6 additions & 0 deletions keymap/user/iTzHard/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Simple configuration that gives you access to the arrow keys on your right hand while holding F.




Google Keywords: Arrows while holding Linux, Colemak Dvorak vim.
52 changes: 52 additions & 0 deletions keymap/user/iTzHard/arrows.kbd
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@

(defcfg
;; Linux
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
output (uinput-sink "KMonad output")

;; Windows
;; input (low-level-hook)
;; output (send-event-sink)

;; MacOS
;; input (iokit-name "my-keyboard-product-string")
;; output (kext)

fallthrough true
)



(defsrc
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
)



(defalias
nav (tap-hold 180 f (layer-toggle navigation))
)


(deflayer qwerty
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 @nav g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl lmet lalt spc ralt
)


(deflayer navigation
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ up _ _ _ _ _
_ _ _ _ _ _ _ left down right _ _ _
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _
)


0 comments on commit 81c4e9e

Please sign in to comment.