From 19e2d6fd5926edab8262a461d11a6d9c70d6f3cb Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 4 Dec 2024 14:09:05 -0800 Subject: [PATCH] Update init.el --- init.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 3b8215e..f12b995 100644 --- a/init.el +++ b/init.el @@ -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