Update init.el

This commit is contained in:
Alexander Rosenberg 2024-12-04 14:09:05 -08:00
parent f6b37f1b10
commit 19e2d6fd59
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -345,13 +345,14 @@ PRED is nil, the value of `my/kill-some-buffers-default-pred' is used."
:init
(setq recentf-exclude `("^/tmp/.*"
"^~/.mail/[^/]/Drafts/.*"
,(format "^%svar/dape-breakpoints" user-emacs-directory)
,(format "^%svar/elpa/.*" user-emacs-directory)
,(format "^%svar/elfeed/.*" user-emacs-directory)
,(format "^%svar/gnus/.*" user-emacs-directory)
,(format "^%svar/ellama-sessions/.*" user-emacs-directory)
,(format "^%setc/gnus/.*" user-emacs-directory)
,(format "^%svar/bookmark-default.el" user-emacs-directory)))
;; :bind ("C-c r" . recentf)
:bind ("C-c r" . recentf)
:config
(recentf-mode 1))
@ -698,7 +699,7 @@ visual states."
;; better `replace-regexp'
(use-package visual-regexp
:bind (("C-c r" . vr/replace)
:bind (("C-c q" . vr/replace)
("C-M-%" . vr/query-replace)))
;; ace-window
@ -1720,6 +1721,9 @@ line in the block and manually deal with indentation."
(setq-local show-trailing-whitespace nil)))
(add-hook 'lisp-mode-hook 'my/-sly-fix-special-buffers)
:config
(evil-define-key 'insert sly-mrepl-mode-map
(kbd ",") 'self-insert-command)
(keymap-set sly-mrepl-mode-map "C-c ," 'sly-mrepl-shortcut)
(sly-symbol-completion-mode -1))
;; pdf-tools