diff options
-rw-r--r-- | .emacs.d/.projectile | 3 | ||||
-rw-r--r-- | .emacs.d/lisp/init-completion.el | 10 | ||||
-rw-r--r-- | .emacs.d/lisp/init-navigation.el | 1 |
3 files changed, 10 insertions, 4 deletions
diff --git a/.emacs.d/.projectile b/.emacs.d/.projectile new file mode 100644 index 0000000..f47cd73 --- /dev/null +++ b/.emacs.d/.projectile @@ -0,0 +1,3 @@ +/elpa +/savefile +/.cask \ No newline at end of file diff --git a/.emacs.d/lisp/init-completion.el b/.emacs.d/lisp/init-completion.el index 84d558e..b034405 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 @@ -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 diff --git a/.emacs.d/lisp/init-navigation.el b/.emacs.d/lisp/init-navigation.el index 20b31e3..7daef2e 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 |