From 6e8df130f413d73b3bfcdba6c54bd71caf227368 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Sun, 5 Feb 2023 00:17:41 -0500 Subject: [PATCH] Add thing-at-point bind for consult-line --- init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.el b/init.el index 1945fd7..383a7c7 100644 --- a/init.el +++ b/init.el @@ -927,6 +927,9 @@ DOCSTRING is an optional form that is discarded upon expansion." (eval-after-load 'esh-mode (lambda () (bind-key "C-r" #'consult-history 'eshell-mode-map))) :bind + ("M-C-s" . (lambda () + (interactive) + (consult-line (thing-at-point 'symbol)))) ("M-s l" . consult-line) ("M-s L" . consult-line-multi) ("C-S-s" . consult-line-multi)