-
|
Sometimes I want to see the original buffer and compare it with previews of other files. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
The solution is obviously to display the current buffer in another window first. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks always for quick feedback. |
Beta Was this translation helpful? Give feedback.
-
|
Well, one thing I could do is duplicate the current buffer in the other window first, and then use |
Beta Was this translation helpful? Give feedback.
-
|
One can easily do this by wrapping the original function with |
Beta Was this translation helpful? Give feedback.
One can easily do this by wrapping the original function with
(let ((consult--buffer-display #'switch-to-buffer-other-window)).Here is an example for
consult-git-grep: