From a6a07a4097f2d502ca465933b7c52b89da86ceff Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 21 Sep 2021 15:20:11 +0100 Subject: Apply initial narrowing to consult-buffer-other-window --- .emacs.d/lisp/init-minibuffer.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el index 90cb79b..80c9054 100644 --- a/.emacs.d/lisp/init-minibuffer.el +++ b/.emacs.d/lisp/init-minibuffer.el @@ -302,7 +302,8 @@ DEFS is a plist associating completion categories to commands." (defvar consult-initial-narrow-config '((consult-buffer . ?x) - (consult-buffer-no-preview . ?x))) + (consult-buffer-no-preview . ?x) + (consult-buffer-other-window . ?x))) ;; Add initial narrowing hook (defun consult-initial-narrow () (when-let (key (alist-get this-command consult-initial-narrow-config)) -- cgit 1.4.1-2-gfad0