From 3af891c734fd1284d173955a69ece801f50ac9a1 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 18 Aug 2021 21:05:27 +0100 Subject: Always bind ctrlf-cancel --- .emacs.d/lisp/init-navigation.el | 1 + 1 file changed, 1 insertion(+) (limited to '.emacs.d/lisp') diff --git a/.emacs.d/lisp/init-navigation.el b/.emacs.d/lisp/init-navigation.el index 13aac52..c9fcc83 100644 --- a/.emacs.d/lisp/init-navigation.el +++ b/.emacs.d/lisp/init-navigation.el @@ -13,6 +13,7 @@ (ctrlf-default-search-style 'fuzzy-regexp) (ctrlf-alternate-search-style 'literal) :bind + ("C-M-g" . ctrlf-cancel) ;; always bind this in case we have left the minibuffer ("C-*" . ctrlf-forward-symbol-at-point)) (use-package smartscan -- cgit 1.4.1-2-gfad0 From 223b4c3c73ab6a6bc9795cf393c7f09441f9707f Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 18 Aug 2021 21:10:25 +0100 Subject: Fix vertico-extensions load paths --- .emacs.d/lisp/init-completion.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.emacs.d/lisp') diff --git a/.emacs.d/lisp/init-completion.el b/.emacs.d/lisp/init-completion.el index f4dc4eb..ba68292 100644 --- a/.emacs.d/lisp/init-completion.el +++ b/.emacs.d/lisp/init-completion.el @@ -1,4 +1,4 @@ -;;; init-completion.el --- Commpletion Configuration File -*- lexical-binding: t -*- +;;; init-completion.el --- Completion Configuration File -*- lexical-binding: t -*- ;;; Commentary: ;; Config for completion-at-point (corfu) and minibuffer (vertico, embark, consult, etc) ;;; Code: @@ -157,7 +157,7 @@ ;; See init-packages.el for fetching of Vertico Extenions ;; Required extensions must be in the vertico-extensions var (use-package vertico-directory - :load-path "site-lisp/vertico-extensions/vertico-directory.el" + :load-path vertico-extensions-dir :bind (:map vertico-map ("RET" . vertico-directory-enter) ("/" . vertico-directory-enter) @@ -167,7 +167,7 @@ :hook (rfn-eshadow-update-overlay . vertico-directory-tidy)) (use-package vertico-repeat - :load-path "site-lisp/vertico-extensions/vertico-repeat.el" + :load-path vertico-extensions-dir :bind ("M-P" . vertico-repeat)) (use-package consult -- cgit 1.4.1-2-gfad0 From 4e42bc78c6f60b4c2526d8996c01da666320ae43 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 18 Aug 2021 21:11:00 +0100 Subject: Add marginalia prompt category for crux recentf --- .emacs.d/lisp/init-completion.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.emacs.d/lisp') diff --git a/.emacs.d/lisp/init-completion.el b/.emacs.d/lisp/init-completion.el index ba68292..9299d8f 100644 --- a/.emacs.d/lisp/init-completion.el +++ b/.emacs.d/lisp/init-completion.el @@ -341,7 +341,9 @@ (add-to-list 'marginalia-prompt-categories '("Switch to project" . file)) (add-to-list 'marginalia-prompt-categories '("Find file" . project-file)) (add-to-list 'marginalia-prompt-categories '("Recently visited files" . project-file)) - (add-to-list 'marginalia-prompt-categories '("Switch to buffer" . buffer))) + (add-to-list 'marginalia-prompt-categories '("Switch to buffer" . buffer)) + ;; For Crux + (add-to-list 'marginalia-prompt-categories '("Choose recent file" . file))) (use-package embark :bind -- cgit 1.4.1-2-gfad0