From 09845be083d3745cd6d3c0673ff3b82975e3604a Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Fri, 9 Apr 2021 22:11:19 +0300 Subject: [PATCH] feat(selectrum): Add Search buffer binding --- modules/config/default/+evil-bindings.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 7d6d19211..bc73462fb 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -682,7 +682,9 @@ ;;; s --- search (:prefix-map ("s" . "search") - :desc "Search buffer" "b" #'swiper + :desc "Search buffer" "b" + (cond ((featurep! :completion ivy) #'swiper) + ((featurep! :completion selectrum) #'consult-line)) :desc "Search all open buffers" "B" #'swiper-all :desc "Search current directory" "d" #'+default/search-cwd :desc "Search other directory" "D" #'+default/search-other-cwd