Fix vertico-posframe
in CLI
This commit is contained in:
parent
f811c9e658
commit
079331dc54
3 changed files with 12 additions and 8 deletions
|
@ -33,6 +33,12 @@
|
||||||
url = "github:firmart/notmuch-notify";
|
url = "github:firmart/notmuch-notify";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
# TODO: use from MELPA when v0.7.5 reaches it
|
||||||
|
# https://github.com/tumashu/vertico-posframe/issues/36
|
||||||
|
extra-package-vertico-posframe = {
|
||||||
|
url = "github:tumashu/vertico-posframe";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs @ {flake-parts, ...}:
|
outputs = inputs @ {flake-parts, ...}:
|
||||||
|
|
12
init.el
12
init.el
|
@ -341,16 +341,14 @@
|
||||||
:config
|
:config
|
||||||
(vertico-posframe-mode +1)
|
(vertico-posframe-mode +1)
|
||||||
:custom
|
:custom
|
||||||
|
(vertico-multiform-commands
|
||||||
|
'((t
|
||||||
|
posframe
|
||||||
|
(vertico-posframe-poshandler . posframe-poshandler-frame-center)
|
||||||
|
(vertico-posframe-fallback-mode . vertico-buffer-mode))))
|
||||||
(vertico-posframe-min-height 0)
|
(vertico-posframe-min-height 0)
|
||||||
(vertico-posframe-min-width 80)
|
(vertico-posframe-min-width 80)
|
||||||
(vertico-posframe-parameters '((alpha-background . 80)))
|
(vertico-posframe-parameters '((alpha-background . 80)))
|
||||||
;; I'm globally enabling vertico-posframe-mode in spite of being advised against it by the README
|
|
||||||
;; It seems to work
|
|
||||||
;;(vertico-multiform-commands
|
|
||||||
;; '((t
|
|
||||||
;; posframe
|
|
||||||
;; (vertico-posframe-poshandler . posframe-poshandler-frame-center)
|
|
||||||
;; (vertico-posframe-fallback-mode . vertico-buffer-mode))))
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package marginalia
|
(use-package marginalia
|
||||||
|
|
|
@ -7,6 +7,7 @@ with epkgs; let
|
||||||
chatgpt = [polymode];
|
chatgpt = [polymode];
|
||||||
copilot = [editorconfig dash s];
|
copilot = [editorconfig dash s];
|
||||||
notmuch-notify = [alert notmuch];
|
notmuch-notify = [alert notmuch];
|
||||||
|
vertico-posframe = [posframe vertico];
|
||||||
};
|
};
|
||||||
|
|
||||||
overrideAttrsPerPackage = {
|
overrideAttrsPerPackage = {
|
||||||
|
@ -93,7 +94,6 @@ with epkgs; let
|
||||||
consult-org-roam
|
consult-org-roam
|
||||||
pass
|
pass
|
||||||
password-store-otp
|
password-store-otp
|
||||||
vertico-posframe
|
|
||||||
eldoc-box
|
eldoc-box
|
||||||
go-translate
|
go-translate
|
||||||
notmuch
|
notmuch
|
||||||
|
|
Reference in a new issue