Apply initial narrowing to consult-buffer-other-window
This commit is contained in:
parent
b522e1aea3
commit
a6a07a4097
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue