Last active
February 13, 2025 14:39
-
-
Save h-jennings/57b8837f9923965cdff2f03dbbfdca05 to your computer and use it in GitHub Desktop.
Karabiner edn file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; ! | means mandatory | |
;; # | means optional | |
;; C | left_command | |
;; T | left_control | |
;; O | left_option | |
;; S | left_shift | |
;; F | fn | |
;; Q | right_command | |
;; W | right_control | |
;; E | right_option | |
;; R | right_shift | |
;; !! | mandatory command + control + optional + shift (hyper) | |
;; ## | optional any | |
{ | |
:profiles {:Default {:default true :sim 200 :delay 800 :alone 800 :held 800}} | |
:layers { | |
:caps-mode {:key :caps_lock :alone {:key :escape}} | |
:media-mode {:key :grave_accent_and_tilde} | |
} | |
:simlayers { | |
:toggle-mode {:key :t} | |
:window-mode {:key :w} | |
:desktop-mode {:key :d} | |
} | |
:main [ | |
{ | |
:des "toggle-mode" | |
:rules [ | |
:toggle-mode | |
[:d {:key :d :modi [:left_command :left_option]}] | |
[:n {:key :t :modi [:right_control :left_command :left_shift]}] | |
] | |
} | |
{ | |
:des "media-mode" | |
:rules [ | |
:media-mode | |
[:k :volume_increment] | |
[:j :volume_decrement] | |
[:m :mute] | |
] | |
} | |
{ | |
:des "window-mode" | |
:rules [ | |
:window-mode | |
[:l {:key :right_arrow :modi [:control :left_option]}] ;; right | |
[:h {:key :left_arrow :modi [:control :left_option]}] ;; left | |
[:c {:key :c :modi [:control :left_option]}] ;; center | |
[:m {:key :return_or_enter :modi [:control :left_option]}] ;; maximize | |
[:r {:key :delete_or_backspace :modi [:control :left_option]}] ;; reset | |
] | |
} | |
{ | |
:des "desktop-mode" | |
:rules [ | |
:desktop-mode | |
[:l {:key :right_arrow :modi [:control]}] ;; right | |
[:h {:key :left_arrow :modi [:control]}] ;; left | |
[:k {:key :mission_control }];; mission control | |
[:j {:key :down_arrow :modi [:control] }];; app expose | |
] | |
} | |
{ | |
:des "caps-mode" | |
:rules [ | |
:caps-mode | |
[:h :left_arrow] | |
[:j :down_arrow] | |
[:k :up_arrow] | |
[:l :right_arrow] | |
] | |
} | |
]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment