feat(vertico): add workarounds for problematic commands
This commit is contained in:
parent
08f32e6d0f
commit
1f25c3510f
1 changed files with 8 additions and 1 deletions
|
@ -29,7 +29,14 @@ overrides `completion-styles' during company completion sessions.")
|
|||
;; cleans ~/foo/bar/// to /, and ~/foo/bar/~/ to ~/.
|
||||
(add-hook 'rfn-eshadow-update-overlay-hook #'vertico-directory-tidy)
|
||||
(add-hook 'minibuffer-setup-hook #'vertico-repeat-save)
|
||||
(map! :map vertico-map "DEL" #'vertico-directory-delete-char))
|
||||
(map! :map vertico-map "DEL" #'vertico-directory-delete-char)
|
||||
|
||||
;; These commands are problematic and automatically show the *Completions* buffer
|
||||
(advice-add #'tmm-add-prompt :after #'minibuffer-hide-completions)
|
||||
(defadvice! +vertico--suppress-completion-help-a (fn &rest args)
|
||||
:around #'ffap-menu-ask
|
||||
(letf! ((#'minibuffer-completion-help #'ignore))
|
||||
(apply fn args))))
|
||||
|
||||
|
||||
(use-package! orderless
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue