Skip to content

Instantly share code, notes, and snippets.

@spdegabrielle
Last active August 27, 2020 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spdegabrielle/6497fe877d768e61c78d8f41a9f4bffa to your computer and use it in GitHub Desktop.
Save spdegabrielle/6497fe877d768e61c78d8f41a9f4bffa to your computer and use it in GitHub Desktop.
a terrible abuse of user defined keybindings
  1. save
  2. Edit->Keybindings->Add user-defined keybindings...
  3. enjoy!
#lang s-exp framework/keybinding-lang
(keybinding ":tab" (λ (editor evt) (send editor auto-complete)))
(keybinding ":a" (λ (editor evt) (send editor auto-complete) (send editor insert "a")))
(keybinding ":b" (λ (editor evt) (send editor auto-complete) (send editor insert "b")))
(keybinding ":c" (λ (editor evt) (send editor auto-complete) (send editor insert "c")))
(keybinding ":d" (λ (editor evt) (send editor auto-complete) (send editor insert "d")))
(keybinding ":e" (λ (editor evt) (send editor auto-complete) (send editor insert "e")))
(keybinding ":f" (λ (editor evt) (send editor auto-complete) (send editor insert "f")))
(keybinding ":g" (λ (editor evt) (send editor auto-complete) (send editor insert "g")))
(keybinding ":h" (λ (editor evt) (send editor auto-complete) (send editor insert "h")))
(keybinding ":i" (λ (editor evt) (send editor auto-complete) (send editor insert "i")))
(keybinding ":j" (λ (editor evt) (send editor auto-complete) (send editor insert "j")))
(keybinding ":k" (λ (editor evt) (send editor auto-complete) (send editor insert "k")))
(keybinding ":l" (λ (editor evt) (send editor auto-complete) (send editor insert "l")))
(keybinding ":m" (λ (editor evt) (send editor auto-complete) (send editor insert "m")))
(keybinding ":n" (λ (editor evt) (send editor auto-complete) (send editor insert "n")))
(keybinding ":o" (λ (editor evt) (send editor auto-complete) (send editor insert "o")))
(keybinding ":p" (λ (editor evt) (send editor auto-complete) (send editor insert "p")))
(keybinding ":q" (λ (editor evt) (send editor auto-complete) (send editor insert "q")))
(keybinding ":r" (λ (editor evt) (send editor auto-complete) (send editor insert "r")))
(keybinding ":s" (λ (editor evt) (send editor auto-complete) (send editor insert "s")))
(keybinding ":t" (λ (editor evt) (send editor auto-complete) (send editor insert "t")))
(keybinding ":u" (λ (editor evt) (send editor auto-complete) (send editor insert "u")))
(keybinding ":v" (λ (editor evt) (send editor auto-complete) (send editor insert "v")))
(keybinding ":w" (λ (editor evt) (send editor auto-complete) (send editor insert "w")))
(keybinding ":x" (λ (editor evt) (send editor auto-complete) (send editor insert "x")))
(keybinding ":y" (λ (editor evt) (send editor auto-complete) (send editor insert "y")))
(keybinding ":z" (λ (editor evt) (send editor auto-complete) (send editor insert "z")))
(keybinding ":-" (λ (editor evt) (send editor auto-complete) (send editor insert "-")))
(keybinding ":#" (λ (editor evt) (send editor auto-complete) (send editor insert "#")))
(keybinding ":@" (λ (editor evt) (send editor auto-complete) (send editor insert "@")))
(keybinding ":\\" (λ (editor evt) (send editor auto-complete) (send editor insert "\\")))
(keybinding ":/" (λ (editor evt) (send editor auto-complete) (send editor insert "/")))
(keybinding ":+" (λ (editor evt) (send editor auto-complete) (send editor insert "+")))
(keybinding ":>" (λ (editor evt) (send editor auto-complete) (send editor insert ">")))
(keybinding ":<" (λ (editor evt) (send editor auto-complete) (send editor insert "<")))
(keybinding "colon" (λ (editor evt) (send editor auto-complete) (send editor insert ":")))
(keybinding "semicolon" (λ (editor evt) (send editor auto-complete) (send editor insert ";")))
(keybinding ":." (λ (editor evt) (send editor auto-complete) (send editor insert ".")))
(keybinding ":=" (λ (editor evt) (send editor auto-complete) (send editor insert "=")))
(keybinding ":%" (λ (editor evt) (send editor auto-complete) (send editor insert "%")))
(keybinding ":'" (λ (editor evt) (send editor auto-complete) (send editor insert "'")))
(keybinding ":*" (λ (editor evt) (send editor auto-complete) (send editor insert "*")))
(keybinding ":?" (λ (editor evt) (send editor auto-complete) (send editor insert "?")))
(keybinding ":0" (λ (editor evt) (send editor auto-complete) (send editor insert "0")))
(keybinding ":1" (λ (editor evt) (send editor auto-complete) (send editor insert "1")))
(keybinding ":2" (λ (editor evt) (send editor auto-complete) (send editor insert "2")))
(keybinding ":3" (λ (editor evt) (send editor auto-complete) (send editor insert "3")))
(keybinding ":4" (λ (editor evt) (send editor auto-complete) (send editor insert "4")))
(keybinding ":5" (λ (editor evt) (send editor auto-complete) (send editor insert "5")))
(keybinding ":6" (λ (editor evt) (send editor auto-complete) (send editor insert "6")))
(keybinding ":7" (λ (editor evt) (send editor auto-complete) (send editor insert "7")))
(keybinding ":8" (λ (editor evt) (send editor auto-complete) (send editor insert "8")))
(keybinding ":9" (λ (editor evt) (send editor auto-complete) (send editor insert "9")))
(keybinding ":!" (λ (editor evt) (send editor auto-complete) (send editor insert "!")))
(keybinding ":∃" (λ (editor evt) (send editor auto-complete) (send editor insert "∃")))
(keybinding ":∀" (λ (editor evt) (send editor auto-complete) (send editor insert "∀")))
(keybinding ":~" (λ (editor evt) (send editor auto-complete) (send editor insert "~")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment