about | blog | config | notes | github

1. Orderless Completion Mode

orderless is a simple package that adds multiple orderless completion styles.

2. Configuration

2.1. Package Install

(use-package orderless)

2.2. Completion Styles

Set the default completion style

(setq completion-styles '(orderless))

Remove any prior settings that are enabled by default.

(setq completion-category-defaults nil)

Override completion style for file category

(setq completion-category-overrides '((file (styles . (partial-completion)))))

2.3. Feature Provide

(provide 'init-orderless)

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)