From f9802defb6d3193b4249139ebd972e0f59966ff1 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Fri, 20 Sep 2024 11:12:39 +0000 Subject: Add titlecase bindings to embark maps --- .emacs.d/lisp/init-editor.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el index 8a4c501..4f5a437 100644 --- a/.emacs.d/lisp/init-editor.el +++ b/.emacs.d/lisp/init-editor.el @@ -220,8 +220,9 @@ :hook (elpaca-after-init . editorconfig-mode)) (use-package titlecase - ;; TODO find a better binding - :bind ("C-c c t t" . titlecase-dwim)) + :bind (("C-c c t t" . titlecase-dwim) + (:map embark-heading-map ("T" . titlecase-line)) + (:map embark-region-map ("T" . titlecase-region)))) (use-package caser :ensure (caser :host github :repo "emacsmirror/caser") -- cgit 1.4.1-2-gfad0