Skip to content

Instantly share code, notes, and snippets.

@wd

wd/karabiner.edn Secret

Created November 2, 2021 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wd/8f0a97b176a9507fb249f3d99d18f31d to your computer and use it in GitHub Desktop.
Save wd/8f0a97b176a9507fb249f3d99d18f31d to your computer and use it in GitHub Desktop.
w-mode in karabiner
{
:simlayers {:w-mode {:key :w}}
:templates {:open "open -b %s"}
:main [
{:des "w layer"
:rules [
[:h [:open "io.alacritty"] :w-mode]
[:l [:open "com.google.Chrome"] :w-mode]
[:e [:open "org.gnu.Emacs"] :w-mode]
[:i [:open "com.tinyspeck.slackmacgap"] :w-mode]
]}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment