]> code.delx.au - gnu-emacs-elpa/commitdiff
ivy-hydra.el (hydra-ivy): Bind "C-g"
authorOleh Krehel <ohwoeowho@gmail.com>
Mon, 22 Jun 2015 12:03:05 +0000 (14:03 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Mon, 22 Jun 2015 12:03:05 +0000 (14:03 +0200)
To make sure that "C-g" really exits the hydra.

ivy-hydra.el

index d1ac90eef76216d7b60258c88e1fa605fdc960ad..76ee3bc4fcf4487b8c7ca5eba156a6279b8019ee 100644 (file)
@@ -60,6 +60,7 @@ _h_ ^+^ _l_     _d_one    _o_ops   _m_: matcher %s(if (eq ivy--regex-function 'i
   ("l" ivy-end-of-buffer)
   ;; actions
   ("o" keyboard-escape-quit :exit t)
+  ("C-g" keyboard-escape-quit :exit t)
   ("i" nil)
   ("f" ivy-alt-done :exit nil)
   ("C-j" ivy-alt-done :exit nil)