diff --git a/layers/+completion/ivy/packages.el b/layers/+completion/ivy/packages.el index dac106046..1af7ccc85 100644 --- a/layers/+completion/ivy/packages.el +++ b/layers/+completion/ivy/packages.el @@ -169,7 +169,6 @@ ;; mappings to quit minibuffer or enter transient state (define-key ivy-minibuffer-map [escape] 'minibuffer-keyboard-quit) (define-key ivy-minibuffer-map (kbd "M-SPC") 'hydra-ivy/body) - (define-key hydra-ivy/keymap [escape] 'hydra-ivy/keyboard-escape-quit-and-exit) (ivy-mode 1) (global-set-key (kbd "C-c C-r") 'ivy-resume) @@ -184,7 +183,8 @@ (ido-mode -1)))) (defun ivy/init-ivy-hydra () - (use-package ivy-hydra)) + (use-package ivy-hydra) + (define-key hydra-ivy/keymap [escape] 'hydra-ivy/keyboard-escape-quit-and-exit)) (defun ivy/post-init-persp-mode () ;; based on https://gist.github.com/Bad-ptr/1aca1ec54c3bdb2ee80996eb2b68ad2d#file-persp-ivy-el