summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2022-04-07 14:20:52 (GMT)
committerRavi R Kiran <aine.marina@gmail.com>2022-04-07 14:20:52 (GMT)
commit2cf635876668da66587f6b8bd4b4935354c2be9f (patch)
tree09bae737fdca9cb22b70b78b256a645b0c6b1b14
parentb401d676ea84a464b1e78306a1f291dab3255cd5 (diff)
downloaddotemacs-2cf635876668da66587f6b8bd4b4935354c2be9f.zip
dotemacs-2cf635876668da66587f6b8bd4b4935354c2be9f.tar.gz
dotemacs-2cf635876668da66587f6b8bd4b4935354c2be9f.tar.bz2
Prepopulate with symbol at point
-rw-r--r--lisp/ravi-init-completion.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ravi-init-completion.el b/lisp/ravi-init-completion.el
index 98407e8..c97d5e3 100644
--- a/lisp/ravi-init-completion.el
+++ b/lisp/ravi-init-completion.el
@@ -256,6 +256,9 @@
consult--source-recent-file consult--source-project-recent-file consult--source-bookmark
:preview-key "C-o")
(consult-customize consult-buffer :preview-key nil) ; preview is just too intrusive
+ (consult-customize
+ consult-isearch consult-line consult-grep consult-git-grep consult-apropos consult-xref
+ :initial (thing-at-point 'symbol))
;; Optionally configure the narrowing key.
;; Both < and C-+ work reasonably well.