Skip to content

Commit

Permalink
feat(emacs): [WIP] corfu and orderless
Browse files Browse the repository at this point in the history
progress towards #9
  • Loading branch information
aemogie committed Oct 12, 2024
1 parent 0106d4b commit e1ba4eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions home/apps/emacs/default.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@

(use-package vertico :config (vertico-mode))
(use-package marginalia :config (marginalia-mode))
(use-package corfu :config (global-corfu-mode))
(use-package orderless
:custom
(completion-styles '(orderless basic))
(completion-category-overrides '((file (styles basic partial-completion))))
(orderless-matching-styles '(orderless-flex orderless-regexp)))

;; i thought `nil` would work, but it doesnt. wonder why
(use-package disable-mouse :config (global-disable-mouse-mode 0))
Expand Down
2 changes: 2 additions & 0 deletions home/apps/emacs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
epkgs.nix-mode
epkgs.magit
epkgs.envrc
epkgs.corfu
epkgs.orderless
epkgs.org-modern
epkgs.kotlin-mode
];
Expand Down

0 comments on commit e1ba4eb

Please sign in to comment.