Add visual-regexp

This commit is contained in:
Alexander Rosenberg 2024-12-02 16:37:47 -08:00
parent 32b3042418
commit f6b37f1b10
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -351,7 +351,7 @@ PRED is nil, the value of `my/kill-some-buffers-default-pred' is used."
,(format "^%svar/ellama-sessions/.*" user-emacs-directory) ,(format "^%svar/ellama-sessions/.*" user-emacs-directory)
,(format "^%setc/gnus/.*" user-emacs-directory) ,(format "^%setc/gnus/.*" user-emacs-directory)
,(format "^%svar/bookmark-default.el" user-emacs-directory))) ,(format "^%svar/bookmark-default.el" user-emacs-directory)))
:bind ("C-c r" . recentf) ;; :bind ("C-c r" . recentf)
:config :config
(recentf-mode 1)) (recentf-mode 1))
@ -696,6 +696,11 @@ visual states."
:config :config
(avy-setup-default)) (avy-setup-default))
;; better `replace-regexp'
(use-package visual-regexp
:bind (("C-c r" . vr/replace)
("C-M-%" . vr/query-replace)))
;; ace-window ;; ace-window
(use-package ace-window (use-package ace-window
:diminish ace-window-mode :diminish ace-window-mode