summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2026-03-01 15:10:56 -0800
committerKleidi Bujari <mail@4kb.net>2026-03-01 15:10:56 -0800
commite52e2b47268c9c50c2d4267cfced868ed3e09d53 (patch)
tree71f6c0590ee5694d15dce0312d4b75bddaf98bf9
parent4eb5fe26cdf7d87bbd5ea8a7cd8e7d4bd272cea5 (diff)
download.emacs.d-e52e2b47268c9c50c2d4267cfced868ed3e09d53.tar.gz
.emacs.d-e52e2b47268c9c50c2d4267cfced868ed3e09d53.tar.bz2
.emacs.d-e52e2b47268c9c50c2d4267cfced868ed3e09d53.zip
use consult for completion in region selection
-rw-r--r--init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.el b/init.el
index a8756dc..bcc6976 100644
--- a/init.el
+++ b/init.el
@@ -164,7 +164,9 @@
([remap goto-line] . consult-goto-line)
([remap switch-to-buffer] . consult-buffer)
([remap comint-history-isearch-backward-regexp] . consult-history)
- ([remap eshell-previous-matching-input] . consult-history)))
+ ([remap eshell-previous-matching-input] . consult-history))
+ :custom
+ (completion-in-region-function #'consult-completion-in-region))
;; (use-package corfu
;; :ensure t