From a355fec5b8c0b734939bcb71b92286d4cc26a392 Mon Sep 17 00:00:00 2001 From: janis Date: Mon, 6 Apr 2026 00:50:02 +0200 Subject: [PATCH] fix vertico-posframe for consult-ripgrep-dir --- init.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init.org b/init.org index 7afbfb3..e4e3358 100644 --- a/init.org +++ b/init.org @@ -529,7 +529,7 @@ Honestly not very happy with this at the moment, but it's kind of hacked togethe "fi" '("Edit init.org" . nemo/edit-init-org) "fs" '("Save" . save-buffer) "fr" '("rg" . consult-ripgrep) - "fR" '("rg in dir" . nemo/consult-ripgrep-dir) + "fR" '("rg in dir" . #’nemo/consult-ripgrep-dir) ) ) #+end_src @@ -1116,7 +1116,7 @@ Use =vertico-posframe= to make the =vertico= buffer floating in the centre of th ;; Ensure posframe is always restored when exiting a minibuffer :hook (minibuffer-exit . (lambda () (vertico-posframe-mode 1))) :config - (vertico-posframe-mode 1) + ;; (vertico-posframe-mode 1) (setq vertico-posframe-height vertico-count vertico-multiform-commands '((consult-line (:not posframe)) @@ -1169,7 +1169,8 @@ Use =consult-xref= for =lsp-xref= and =xref-find-references=. "Call consult-ripgrep in a user-specified directory." (interactive) (let ((dir (read-directory-name "Ripgrep directory: "))) - (consult-ripgrep dir)) + (let ((this-command 'consult-ripgrep)) + (consult-ripgrep dir))) ) (bind-key "C-s" 'consult-line custom-bindings-map)