mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
selectrum: improve bindings
- add missing emacs bindings - properly feature guard swiper related bindings - for selectrum, unbind `SPC s B` and temporarily bind `SPC s s` to isearch to prevent don't get errors until we decide what to do there. - update readme to reflect that
This commit is contained in:
@ -678,9 +678,12 @@
|
||||
;;; <leader> s --- search
|
||||
(:prefix-map ("s" . "search")
|
||||
:desc "Search buffer" "b"
|
||||
(cond ((featurep! :completion ivy) #'swiper)
|
||||
(cond ((featurep! :completion helm) #'swiper)
|
||||
((featurep! :completion ivy) #'swiper)
|
||||
((featurep! :completion selectrum) #'consult-line))
|
||||
:desc "Search all open buffers" "B" #'swiper-all
|
||||
:desc "Search all open buffers" "B"
|
||||
(cond ((featurep! :completion helm) #'swiper-all)
|
||||
((featurep! :completion ivy) #'swiper-all))
|
||||
:desc "Search current directory" "d" #'+default/search-cwd
|
||||
:desc "Search other directory" "D" #'+default/search-other-cwd
|
||||
:desc "Locate file" "f" #'locate
|
||||
@ -698,7 +701,8 @@
|
||||
:desc "Jump to mark" "r" #'evil-show-marks
|
||||
:desc "Search buffer" "s" #'+default/search-buffer
|
||||
:desc "Search buffer for thing at point" "S"
|
||||
(cond ((featurep! :completion ivy) #'swiper-isearch-thing-at-point)
|
||||
(cond ((featurep! :completion helm) #'swiper-isearch-thing-at-point)
|
||||
((featurep! :completion ivy) #'swiper-isearch-thing-at-point)
|
||||
((featurep! :completion selectrum) #'+selectrum/search-symbol-at-point))
|
||||
:desc "Dictionary" "t" #'+lookup/dictionary-definition
|
||||
:desc "Thesaurus" "T" #'+lookup/synonyms)
|
||||
|
Reference in New Issue
Block a user