I'd like something similar to the other-window prefix where grepping keeps the current buffer intact and instead I can navigate to / preview results in another window.
Naively I tried:
(let ((consult--buffer-display #'switch-to-buffer-other-window))
(consult-ripgrep dir initial))
But I don't think this variable is compatible with consult-grep and co.
I'd like something similar to the
other-window
prefix where grepping keeps the current buffer intact and instead I can navigate to / preview results in another window.Naively I tried:
But I don't think this variable is compatible with
consult-grep
and co.