diff options
author | Alan Pearce | 2023-09-10 17:45:35 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-10 17:45:35 +0200 |
commit | fc34f9bff56658d9987b7cc62c1a7106a467f7e7 (patch) | |
tree | 5512c42894fca2a82f15177a174373e85a873b59 /user | |
parent | 92d3bf79aaaf99f85b6d252fafd8b6cdcf4ff987 (diff) | |
download | nixfiles-fc34f9bff56658d9987b7cc62c1a7106a467f7e7.tar.lz nixfiles-fc34f9bff56658d9987b7cc62c1a7106a467f7e7.tar.zst nixfiles-fc34f9bff56658d9987b7cc62c1a7106a467f7e7.zip |
Emacs: install orderless
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 4 | ||||
-rw-r--r-- | user/settings/emacs.nix | 1 |
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 |