mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(default): region handling in +default/search-buffer
+default/search-buffer now correctly uses the active selection when invoking `consult-line` (on 'SPC s s' or 'SPC s b'). Close #5406 Co-authored-by: Sævar Berg <saevarb@users.noreply.github.com>
This commit is contained in:
@ -704,7 +704,7 @@
|
||||
;;; <leader> s --- search
|
||||
(:prefix-map ("s" . "search")
|
||||
:desc "Search buffer" "b"
|
||||
(cond ((featurep! :completion vertico) #'consult-line)
|
||||
(cond ((featurep! :completion vertico) #'+default/search-buffer)
|
||||
((featurep! :completion ivy) #'swiper)
|
||||
((featurep! :completion helm) #'swiper))
|
||||
:desc "Search all open buffers" "B"
|
||||
|
Reference in New Issue
Block a user