home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b0d21f83bcf12151ca2bae1c1c499b32f09994e4
parent 8c465e7a46a0347b3cb0c911f3ed1a77b1fb390c
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 30 Jul 2021 17:33:36 +0200

tools/emacs: add consult configuration…

that I need to explore more because I feel with this, and projects,
this could be killer stuff.

Also, removing embark for now, as I don't understand it :D

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-completion.el | 16++++++++++++++++
Musers/vincent/dev/emacs.nix | 3++-
2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/tools/emacs/config/config-completion.el b/tools/emacs/config/config-completion.el @@ -145,11 +145,27 @@ instead." ("f" . next-completion) ("b" . previous-completion) ("M-v" . vde/focus-minibuffer))) + (use-package vertico :unless noninteractive :config (vertico-mode)) +(use-package consult + :unless noninteractive + :after minibuffer + :config + (setq consult-async-input-debounce 0.5) + (setq consult-async-input-throttle 0.8) + :bind (("M-X" . consult-mode-command) + ("M-s i" . consult-imenu) + ("M-s s" . consult-outline) ; M-s o is `occur' + ("M-s M-s" . consult-outline) + ("M-s m" . consult-mark) + ("M-s l" . consult-line) + :map minibuffer-local-completion-map + ("<tab>" . minibuffer-force-compylete))) + (use-package company :unless noninteractive :hook ((prog-mode . company-mode)) diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -41,7 +41,8 @@ let edit-indirect elfeed elfeed-org - embark + # embark + # embark-consult envrc esh-autosuggest eshell-prompt-extras