(bind-key {:keys [kb handler scope] :as keybinding})
Binds a sequence of button presses, specified by spec
, to cb
when
pressed. Keys must be unique per spec
, and can be used to remove keybinding
with unbind!
.
spec
format is emacs-like strings a-la "ctrl-c k", "meta-shift-k", etc.
Binds a sequence of button presses, specified by `spec`, to `cb` when pressed. Keys must be unique per `spec`, and can be used to remove keybinding with `unbind!`. `spec` format is emacs-like strings a-la "ctrl-c k", "meta-shift-k", etc.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close