config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

commit 639b997dbd0f0a9a54536feb66ff35247af76f50
parent b88f9bfb2327721170faef009812869ed98e3ec0
Author: dwrz <dwrz@dwrz.net>
Date:   Fri, 15 Mar 2024 11:41:54 +0000

Update Emacs init

Diffstat:
Memacs/init.el | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/emacs/init.el b/emacs/init.el @@ -679,6 +679,10 @@ (prog-mode . (lambda () (dwrz-highlight-keywords)))) :ensure nil) +(use-package project + :config (add-to-list 'project-switch-commands '(project-shell "Shell")) + :ensure nil) + (use-package rainbow-mode :defer t :hook ((conf-mode . rainbow-mode) @@ -882,6 +886,13 @@ "s" #'highlight-symbol-at-point "u" #'unhighlight-regexp) +(defvar-keymap dwrz-macro-map + :doc "Prefix keymap for macros." + :name "Macro" + "c" #'kmacro-set-counter + "s" #'kmacro-start-macro-or-insert-counter + "t" #'kmacro-end-or-call-macro) + (defvar-keymap dwrz-movement-map :doc "Prefix keymap for movement." :name "Move" @@ -1050,6 +1061,7 @@ "i" (cons "insert" dwrz-insert-map) "j" (cons "jump" #'jump-to-register) "m" (cons "move" dwrz-movement-map) + "M" (cons "macro" dwrz-macro-map) "n" (cons "narrow" narrow-map) "o" (cons "org" dwrz-org-map) "p" (cons "password" dwrz-password-map)