aggressive-completion
- Description
- Automatic minibuffer completion
- Latest
- aggressive-completion-1.7.0.20220417.71805.tar (.sig), 2024-Mar-31, 20.0 KiB
- Maintainer
- Tassilo Horn <tsdh@gnu.org>
- Atom feed
- aggressive-completion.xml
- Website
- https://elpa.gnu.org/packages/aggressive-completion.html
- Browse repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install
or list-packages
.
Full description
Aggressive completion mode (`aggressive-completion-mode') is a minor mode which automatically completes for you after a short delay (`aggressive-completion-delay') and shows all possible completions using the standard completion help (unless the number of possible completions exceeds `aggressive-completion-max-shown-completions' or `aggressive-completion-auto-completion-help' is set to nil). Automatic completion is done after all commands in `aggressive-completion-auto-complete-commands'. The function doing auto-completion is defined by `aggressive-completion-auto-complete-fn' which defaults to `minibuffer-complete'. Aggressive completion can be toggled using `aggressive-completion-toggle-auto-complete' (bound to `M-t' by default) which is especially useful when trying to find a not yet existing file or switch to a new buffer. You can switch from minibuffer to *Completions* buffer and back again using `aggressive-completion-switch-to-completions' (bound to `M-c' by default). All keys bound to this command in `aggressive-completion-minibuffer-map' will be bound to `other-window' in `completion-list-mode-map' so that those keys act as switch-back-and-forth commands. Aggressive completion can be used together, in theory, with other completion UIs. Using the following configuration, it works quite well with the vertico package: Disable completion help since vertico shows the candidates anyhow. (setq aggressive-completion-auto-completion-help nil) A command which just expands the common part without selecting a candidate. (defun th/vertico-complete () (interactive) (minibuffer-complete) (when vertico--count-ov ;; Only if vertico is active. (vertico--exhibit))) Use that for auto-completion. (setq aggressive-completion-auto-complete-fn #'th/vertico-complete) The inline help messages like "Next char not uniqe" make point bump to the right because of vertico's overlays which is a bit annoying. And since you already see your candidates anyhow, the messages aren't important anyhow. (setq completion-show-inline-help nil)
Old versions
aggressive-completion-1.6.0.20220414.42707.tar.lz | 2022-Apr-14 | 3.23 KiB |
aggressive-completion-1.6.0.20210418.81217.tar.lz | 2021-Apr-18 | 3.14 KiB |
aggressive-completion-1.5.0.20210410.73231.tar.lz | 2021-Apr-10 | 3.12 KiB |
aggressive-completion-1.4.0.20210409.194608.tar.lz | 2021-Apr-09 | 2.59 KiB |
aggressive-completion-1.4.0.20210405.74005.tar.lz | 2021-Apr-05 | 2.57 KiB |
aggressive-completion-1.3.0.20210404.191803.tar.lz | 2021-Apr-04 | 2.58 KiB |
aggressive-completion-1.1.0.20210403.215637.tar.lz | 2021-Apr-04 | 2.57 KiB |
aggressive-completion-1.0.0.20210403.182124.tar.lz | 2021-Apr-03 | 2.65 KiB |