diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-20 11:12:39 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-20 11:12:39 +0000 |
commit | f9802defb6d3193b4249139ebd972e0f59966ff1 (patch) | |
tree | 3c2504c14f6a5bff768e89f8136a0cdf3aa1228b /.emacs.d | |
parent | 97ffcad9eb4cc20fba5999700039c708a26eac2a (diff) | |
download | dotfiles-f9802defb6d3193b4249139ebd972e0f59966ff1.tar.gz |
Add titlecase bindings to embark maps
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/lisp/init-editor.el | 5 |
1 files changed, 3 insertions, 2 deletions
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") |