aboutsummaryrefslogtreecommitdiff
path: root/modules/ui-navigation.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 01:19:28 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 01:19:28 -0400
commitc5b2fae7a7f5f7ff5c324e14202a85b2cc627c88 (patch)
tree53007cf8d1eb9283eb397ae27c054e8f9925b6c3 /modules/ui-navigation.el
parent7f8c28eec92ba96d885469fac4644190b8208ae2 (diff)
downloaddotemacs-c5b2fae7a7f5f7ff5c324e14202a85b2cc627c88.tar.gz
dotemacs-c5b2fae7a7f5f7ff5c324e14202a85b2cc627c88.zip
feat: add avy (in-buffer jump) and wgrep (editable grep)
The two clear wins from the package-list review. avy fills the in-buffer motion gap (C-: jump-to-char-timer, M-g w/l for word/line) that windmove and isearch leave open; wgrep turns a consult-grep / embark-export result into an editable, write-back-across-files refactor (C-c C-p to edit, C-c C-c to apply).
Diffstat (limited to 'modules/ui-navigation.el')
-rw-r--r--modules/ui-navigation.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/ui-navigation.el b/modules/ui-navigation.el
index c099e083..cb0fc569 100644
--- a/modules/ui-navigation.el
+++ b/modules/ui-navigation.el
@@ -283,5 +283,15 @@ With numeric prefix ARG, re-open the ARGth most-recently-killed file
:config
(winner-mode 1))
+;; ------------------------------- Cursor Jump (avy) ---------------------------
+;; Jump anywhere visible by typing a few of the target's characters, then the
+;; decision-tree key avy overlays. Fills the in-buffer motion gap that windmove
+;; (windows) and isearch (text) leave.
+
+(use-package avy
+ :bind (("C-:" . avy-goto-char-timer) ;; type chars, pause, jump to a match
+ ("M-g w" . avy-goto-word-1)
+ ("M-g l" . avy-goto-line)))
+
(provide 'ui-navigation)
;;; ui-navigation.el ends here