summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-09-10 17:45:35 +0200
committerAlan Pearce2023-09-10 17:45:35 +0200
commitfc34f9bff56658d9987b7cc62c1a7106a467f7e7 (patch)
tree5512c42894fca2a82f15177a174373e85a873b59 /user
parent92d3bf79aaaf99f85b6d252fafd8b6cdcf4ff987 (diff)
downloadnixfiles-fc34f9bff56658d9987b7cc62c1a7106a467f7e7.tar.lz
nixfiles-fc34f9bff56658d9987b7cc62c1a7106a467f7e7.tar.zst
nixfiles-fc34f9bff56658d9987b7cc62c1a7106a467f7e7.zip
Emacs: install orderless
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el4
-rw-r--r--user/settings/emacs.nix1
2 files changed, 5 insertions, 0 deletions
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