about summary refs log tree commit diff
path: root/config/kanata
diff options
context:
space:
mode:
authorvenomade <venomade@venomade.com>2026-04-08 15:07:12 +0100
committervenomade <venomade@venomade.com>2026-04-08 15:07:12 +0100
commitd422bc2b77ece72be1098bf05728275ef3306ee5 (patch)
tree8b6b6f0da228dc99f36d91cf7841c425963e73f5 /config/kanata
parenta6543a0ba0e5399515e3dbe507a8bd12958839cc (diff)
Before the Return of the Mac HEAD master
Asahi Bugs
- Forked GL is very annoying to deal with
- Fairydust branch requires 8GB of RAM for display
- AArch64 Linux is not very compatible with much software
- DRM and other video related things are buggy/do not work
- Updating can often break fairydust
Diffstat (limited to 'config/kanata')
-rw-r--r--config/kanata/config.kbd39
1 files changed, 39 insertions, 0 deletions
diff --git a/config/kanata/config.kbd b/config/kanata/config.kbd
new file mode 100644
index 0000000..a805cf7
--- /dev/null
+++ b/config/kanata/config.kbd
@@ -0,0 +1,39 @@
+#|
+This minimal config changes Caps Lock to act as Caps Lock on quick tap, but
+if held, it will act as Left Ctrl. It also changes the backtick/grave key to
+act as backtick/grave on quick tap, but change ijkl keys to arrow keys on hold.
+
+This text between the two pipe+octothorpe sequences is a multi-line comment.
+|#
+
+;; Text after double-semicolons are single-line comments.
+
+#|
+One defcfg entry may be added, which is used for configuration key-pairs. These
+configurations change kanata's behaviour at a more global level than the other
+configuration entries.
+|#
+
+(defcfg
+  #|
+  This configuration will process all keys pressed inside of kanata, even if
+  they are not mapped in defsrc. This is so that certain actions can activate
+  at the right time for certain input sequences. By default, unmapped keys are
+  not processed through kanata due to a Windows issue related to AltGr. If you
+  use AltGr in your keyboard, you will likely want to follow the simple.kbd
+  file while unmapping lctl and ralt from defsrc.
+  |#
+  process-unmapped-keys yes
+)
+
+(defsrc
+  caps
+)
+
+(deflayer default
+  @cap
+)
+
+(defalias
+  cap (tap-hold 200 200 esc lctl)
+)