mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(default): bind s-f to consult-line for macos users
Swiper is present if the ivy or helm backends are enabled, otherwise, use consult-line.
This commit is contained in:
@ -273,7 +273,7 @@ Continues comments if executed from a commented line. Consults
|
|||||||
"s-l" #'goto-line
|
"s-l" #'goto-line
|
||||||
;; Restore OS undo, save, copy, & paste keys (without cua-mode, because
|
;; Restore OS undo, save, copy, & paste keys (without cua-mode, because
|
||||||
;; it imposes some other functionality and overhead we don't need)
|
;; it imposes some other functionality and overhead we don't need)
|
||||||
"s-f" #'swiper
|
"s-f" (if (featurep! :completion vertico) #'consult-line #'swiper)
|
||||||
"s-z" #'undo
|
"s-z" #'undo
|
||||||
"s-Z" #'redo
|
"s-Z" #'redo
|
||||||
"s-c" (if (featurep 'evil) #'evil-yank #'copy-region-as-kill)
|
"s-c" (if (featurep 'evil) #'evil-yank #'copy-region-as-kill)
|
||||||
|
Reference in New Issue
Block a user