From fc34f9bff56658d9987b7cc62c1a7106a467f7e7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 10 Sep 2023 17:45:35 +0200 Subject: Emacs: install orderless --- user/emacs/init.el | 4 ++++ user/settings/emacs.nix | 1 + 2 files changed, 5 insertions(+) (limited to 'user') diff --git a/user/emacs/init.el b/user/emacs/init.el index 07e843e6..a90973c1 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -247,6 +247,10 @@ With two prefix arguments, write out the day and month name." completion-category-defaults nil completion-category-overrides '((file (styles basic partial-completion)))) +(use-package orderless + :config (progn + (add-to-list 'completion-styles 'orderless))) + (use-package consult :general ([remap isearch-forward] #'consult-line [remap isearch-backward] #'consult-line diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 41726356..7283cc72 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -146,6 +146,7 @@ in markdown-mode marginalia nerd-icons + orderless doom-modeline php-mode persist-state -- cgit 1.4.1