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:
parent
87699f3973
commit
6e3f500a39
2 changed files with 3 additions and 2 deletions
|
@ -44,7 +44,9 @@ immediately runs it on the current candidate (ending the ivy session)."
|
||||||
;; ...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
|
;; 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! 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))
|
||||||
|
|
|
@ -574,7 +574,6 @@
|
||||||
(:after ivy
|
(:after ivy
|
||||||
:map ivy-minibuffer-map
|
:map ivy-minibuffer-map
|
||||||
[escape] #'keyboard-escape-quit
|
[escape] #'keyboard-escape-quit
|
||||||
[C-return] #'ivy-immediate-done
|
|
||||||
"C-SPC" #'ivy-call-and-recenter
|
"C-SPC" #'ivy-call-and-recenter
|
||||||
"M-z" #'undo
|
"M-z" #'undo
|
||||||
"M-v" #'yank
|
"M-v" #'yank
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue