summaryrefslogtreecommitdiff
path: root/mac/.config/karabiner/assets/complex_modifications/1755910681.json
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/karabiner/assets/complex_modifications/1755910681.json')
-rw-r--r--mac/.config/karabiner/assets/complex_modifications/1755910681.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/mac/.config/karabiner/assets/complex_modifications/1755910681.json b/mac/.config/karabiner/assets/complex_modifications/1755910681.json
new file mode 100644
index 0000000..0bcabe9
--- /dev/null
+++ b/mac/.config/karabiner/assets/complex_modifications/1755910681.json
@@ -0,0 +1,32 @@
+{
+ "title": "Tap Caps Lock for ESC or Hold for Control",
+ "rules": [
+ {
+ "description": "Tap Caps Lock for ESC or Hold for Control",
+ "manipulators": [
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "caps_lock",
+ "modifiers": {
+ "optional": [
+ "any"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "left_control",
+ "lazy": true
+ }
+ ],
+ "to_if_alone": [
+ {
+ "key_code": "escape"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}