summaryrefslogtreecommitdiff
path: root/users/ericgebhart/defs/oneshot.def
diff options
context:
space:
mode:
authorEric Gebhart <e.a.gebhart@gmail.com>2022-11-12 00:09:41 +0100
committerGitHub <noreply@github.com>2022-11-11 23:09:41 +0000
commit050472a4d07d07c1d9ae17d2fd26d44e9d95d950 (patch)
tree8c326011ec8cac395a92839ec4b420bf12652fa1 /users/ericgebhart/defs/oneshot.def
parent49a78b81145213e2883e6c3beab6d9c136c10085 (diff)
Eric Gebhart user space and keymaps (#17487)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'users/ericgebhart/defs/oneshot.def')
-rw-r--r--users/ericgebhart/defs/oneshot.def17
1 files changed, 17 insertions, 0 deletions
diff --git a/users/ericgebhart/defs/oneshot.def b/users/ericgebhart/defs/oneshot.def
new file mode 100644
index 0000000000..c54215234f
--- /dev/null
+++ b/users/ericgebhart/defs/oneshot.def
@@ -0,0 +1,17 @@
+// custom-key, Oneshot name.
+ ONESHOT( OS_LSFT, ONESHOT_LSFT)
+ ONESHOT( OS_LCTL, ONESHOT_LCTL)
+ ONESHOT( OS_LALT, ONESHOT_LALT)
+ ONESHOT( OS_LGUI, ONESHOT_LGUI)
+
+// keys to cancel
+ CANCEL_KEY( KC_ESC)
+
+// CANCEL_KEY( KC_FNAV)
+// CANCEL_KEY( KC_FNUM)
+// CANCEL_KEY( KC_FCAPS)
+
+// keys to ignore.
+IGNORE_KEY( SPC_NAV)
+// IGNORE_KEY( KC_FNAV)
+// IGNORE_KEY( KC_FSYM)