completion/ivy: don't kill ivy on DEL in empty minibuffer

This commit is contained in:
Henrik Lissner 2018-03-23 02:23:57 -04:00
parent b21e4c8bba
commit dacf50627c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -42,7 +42,9 @@ immediately runs it on the current candidate (ending the ivy session)."
;; don't show recent files in switch-buffer ;; don't show recent files in switch-buffer
ivy-use-virtual-buffers nil ivy-use-virtual-buffers nil
;; ...but if that ever changes, show their full path ;; ...but if that ever changes, show their full path
ivy-virtual-abbreviate 'full) ivy-virtual-abbreviate 'full
;; don't quit minibuffer on delete-error
ivy-on-del-error-function nil)
(after! magit (setq magit-completing-read-function #'ivy-completing-read)) (after! magit (setq magit-completing-read-function #'ivy-completing-read))
(after! yasnippet (push #'+ivy-yas-prompt yas-prompt-functions)) (after! yasnippet (push #'+ivy-yas-prompt yas-prompt-functions))