Add consult-line binding to embark-general-map

Added the "/" key binding in embark-general-map to trigger consult-line, enhancing quick line searching functionality.
This commit is contained in:
Jeremy Dormitzer 2024-07-23 13:18:30 -04:00
parent 454ffb7d33
commit a4f90da304

View File

@ -145,7 +145,8 @@ targets."
((emacs normal motion insert visual) "M-." #'embark-dwim) ((emacs normal motion insert visual) "M-." #'embark-dwim)
("C-." #'embark-act) ("C-." #'embark-act)
("M-." #'embark-dwim) ("M-." #'embark-dwim)
(embark-general-map "C-k" #'browse-url-or-search) (embark-general-map "C-k" #'browse-url-or-search
"/" #'consult-line)
(embark-file-map "s" #'sudo-edit-find-file (embark-file-map "s" #'sudo-edit-find-file
"l" #'vlf "l" #'vlf
"g" #'magit-file-dispatch) "g" #'magit-file-dispatch)