diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-09-21 15:20:11 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-09-21 15:20:11 +0100 |
commit | a6a07a4097f2d502ca465933b7c52b89da86ceff (patch) | |
tree | 4a8b8065aae848b1cdd5500ad065db92103dcf2f | |
parent | b522e1aea3f6a34afc5ef0e4bdebc1d73f706b07 (diff) | |
download | dotfiles-a6a07a4097f2d502ca465933b7c52b89da86ceff.tar.gz |
Apply initial narrowing to consult-buffer-other-window
-rw-r--r-- | .emacs.d/lisp/init-minibuffer.el | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |