From a4f90da30482d43e48953d5d3e6d196277003650 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 23 Jul 2024 13:18:30 -0400 Subject: [PATCH] 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. --- emacs/.emacs.d/config/init-completion.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-completion.el b/emacs/.emacs.d/config/init-completion.el index b683b3f..47a2b38 100644 --- a/emacs/.emacs.d/config/init-completion.el +++ b/emacs/.emacs.d/config/init-completion.el @@ -145,7 +145,8 @@ targets." ((emacs normal motion insert visual) "M-." #'embark-dwim) ("C-." #'embark-act) ("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 "l" #'vlf "g" #'magit-file-dispatch)