completion/ivy: ivy-use-selectable-prompt = t

Solves the "I want to enter something new, but it also is a part of
a match" issue. Thanks to @gilbertw1 for letting me know about this.

As such, the C-RET keybind from 310d81ab is no longer necessary
This commit is contained in:
Henrik Lissner 2018-05-14 20:03:36 +02:00
parent 87699f3973
commit 6e3f500a39
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 2 deletions

View file

@ -44,7 +44,9 @@ immediately runs it on the current candidate (ending the ivy session)."
;; ...but if that ever changes, show their full path
ivy-virtual-abbreviate 'full
;; don't quit minibuffer on delete-error
ivy-on-del-error-function nil)
ivy-on-del-error-function nil
;; enable ability to select prompt (alternative to `ivy-immediate-done')
ivy-use-selectable-prompt t)
(after! magit (setq magit-completing-read-function #'ivy-completing-read))
(after! yasnippet (push #'+ivy-yas-prompt yas-prompt-functions))

View file

@ -574,7 +574,6 @@
(:after ivy
:map ivy-minibuffer-map
[escape] #'keyboard-escape-quit
[C-return] #'ivy-immediate-done
"C-SPC" #'ivy-call-and-recenter
"M-z" #'undo
"M-v" #'yank