Skip to content

Instantly share code, notes, and snippets.

@kconner
Created September 28, 2016 03:58
Show Gist options
  • Save kconner/9c7d3c89d187e091a65b67ec398c5e0a to your computer and use it in GitHub Desktop.
Save kconner/9c7d3c89d187e091a65b67ec398c5e0a to your computer and use it in GitHub Desktop.
# .khdrc script for https://github.com/koekeishiya/khd
# lcmd + .OEU (Dvorak ESDF) = arrows
lcmd - o : /usr/local/bin/khd -p "- left"
lcmd - e : /usr/local/bin/khd -p "- down"
lcmd - 0x0e : /usr/local/bin/khd -p "- up"
lcmd - u : /usr/local/bin/khd -p "- right"
rcmd + lcmd - o : /usr/local/bin/khd -p "cmd - left"
rcmd + lcmd - e : /usr/local/bin/khd -p "cmd - down"
rcmd + lcmd - 0x0e : /usr/local/bin/khd -p "cmd - up"
rcmd + lcmd - u : /usr/local/bin/khd -p "cmd - right"
shift + lcmd - o : /usr/local/bin/khd -p "shift - left"
shift + lcmd - e : /usr/local/bin/khd -p "shift - down"
shift + lcmd - 0x0e : /usr/local/bin/khd -p "shift - up"
shift + lcmd - u : /usr/local/bin/khd -p "shift - right"
rcmd + shift + lcmd - o : /usr/local/bin/khd -p "cmd + shift - left"
rcmd + shift + lcmd - e : /usr/local/bin/khd -p "cmd + shift - down"
rcmd + shift + lcmd - 0x0e : /usr/local/bin/khd -p "cmd + shift - up"
rcmd + shift + lcmd - u : /usr/local/bin/khd -p "cmd + shift - right"
alt + lcmd - o : /usr/local/bin/khd -p "alt - left"
alt + lcmd - e : /usr/local/bin/khd -p "alt - down"
alt + lcmd - 0x0e : /usr/local/bin/khd -p "alt - up"
alt + lcmd - u : /usr/local/bin/khd -p "alt - right"
rcmd + alt + lcmd - o : /usr/local/bin/khd -p "cmd + alt - left"
rcmd + alt + lcmd - e : /usr/local/bin/khd -p "cmd + alt - down"
rcmd + alt + lcmd - 0x0e : /usr/local/bin/khd -p "cmd + alt - up"
rcmd + alt + lcmd - u : /usr/local/bin/khd -p "cmd + alt - right"
ctrl + lcmd - o : /usr/local/bin/khd -p "ctrl - left"
ctrl + lcmd - e : /usr/local/bin/khd -p "ctrl - down"
ctrl + lcmd - 0x0e : /usr/local/bin/khd -p "ctrl - up"
ctrl + lcmd - u : /usr/local/bin/khd -p "ctrl - right"
rcmd + ctrl + lcmd - o : /usr/local/bin/khd -p "cmd + ctrl - left"
rcmd + ctrl + lcmd - e : /usr/local/bin/khd -p "cmd + ctrl - down"
rcmd + ctrl + lcmd - 0x0e : /usr/local/bin/khd -p "cmd + ctrl - up"
rcmd + ctrl + lcmd - u : /usr/local/bin/khd -p "cmd + ctrl - right"
shift + alt + lcmd - o : /usr/local/bin/khd -p "shift + alt - left"
shift + alt + lcmd - e : /usr/local/bin/khd -p "shift + alt - down"
shift + alt + lcmd - 0x0e : /usr/local/bin/khd -p "shift + alt - up"
shift + alt + lcmd - u : /usr/local/bin/khd -p "shift + alt - right"
rcmd + shift + alt + lcmd - o : /usr/local/bin/khd -p "cmd + shift + alt - left"
rcmd + shift + alt + lcmd - e : /usr/local/bin/khd -p "cmd + shift + alt - down"
rcmd + shift + alt + lcmd - 0x0e : /usr/local/bin/khd -p "cmd + shift + alt - up"
rcmd + shift + alt + lcmd - u : /usr/local/bin/khd -p "cmd + shift + alt - right"
shift + ctrl + lcmd - o : /usr/local/bin/khd -p "shift + ctrl - left"
shift + ctrl + lcmd - e : /usr/local/bin/khd -p "shift + ctrl - down"
shift + ctrl + lcmd - 0x0e : /usr/local/bin/khd -p "shift + ctrl - up"
shift + ctrl + lcmd - u : /usr/local/bin/khd -p "shift + ctrl - right"
rcmd + shift + ctrl + lcmd - o : /usr/local/bin/khd -p "cmd + shift + ctrl - left"
rcmd + shift + ctrl + lcmd - e : /usr/local/bin/khd -p "cmd + shift + ctrl - down"
rcmd + shift + ctrl + lcmd - 0x0e : /usr/local/bin/khd -p "cmd + shift + ctrl - up"
rcmd + shift + ctrl + lcmd - u : /usr/local/bin/khd -p "cmd + shift + ctrl - right"
alt + ctrl + lcmd - o : /usr/local/bin/khd -p "alt + ctrl - left"
alt + ctrl + lcmd - e : /usr/local/bin/khd -p "alt + ctrl - down"
alt + ctrl + lcmd - 0x0e : /usr/local/bin/khd -p "alt + ctrl - up"
alt + ctrl + lcmd - u : /usr/local/bin/khd -p "alt + ctrl - right"
rcmd + alt + ctrl + lcmd - o : /usr/local/bin/khd -p "cmd + alt + ctrl - left"
rcmd + alt + ctrl + lcmd - e : /usr/local/bin/khd -p "cmd + alt + ctrl - down"
rcmd + alt + ctrl + lcmd - 0x0e : /usr/local/bin/khd -p "cmd + alt + ctrl - up"
rcmd + alt + ctrl + lcmd - u : /usr/local/bin/khd -p "cmd + alt + ctrl - right"
shift + alt + ctrl + lcmd - o : /usr/local/bin/khd -p "shift + alt + ctrl - left"
shift + alt + ctrl + lcmd - e : /usr/local/bin/khd -p "shift + alt + ctrl - down"
shift + alt + ctrl + lcmd - 0x0e : /usr/local/bin/khd -p "shift + alt + ctrl - up"
shift + alt + ctrl + lcmd - u : /usr/local/bin/khd -p "shift + alt + ctrl - right"
rcmd + shift + alt + ctrl + lcmd - o : /usr/local/bin/khd -p "cmd + shift + alt + ctrl - left"
rcmd + shift + alt + ctrl + lcmd - e : /usr/local/bin/khd -p "cmd + shift + alt + ctrl - down"
rcmd + shift + alt + ctrl + lcmd - 0x0e : /usr/local/bin/khd -p "cmd + shift + alt + ctrl - up"
rcmd + shift + alt + ctrl + lcmd - u : /usr/local/bin/khd -p "cmd + shift + alt + ctrl - right"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment