about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-editor.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2023-09-21 07:39:35 +0100
committerDavid Morgan <djm_uk@protonmail.com>2023-09-21 07:39:35 +0100
commitcd06f1a12f72c336ba77ce97d279b5df2d6db7df (patch)
tree1933318c35fc075713f75d80529cdfb904687455 /.emacs.d/lisp/init-editor.el
parent098c6411889b1310fa7b6820b77b9b9e5e180cd2 (diff)
downloaddotfiles-cd06f1a12f72c336ba77ce97d279b5df2d6db7df.tar.gz
Add caser
Diffstat (limited to '.emacs.d/lisp/init-editor.el')
-rw-r--r--.emacs.d/lisp/init-editor.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index ed2cf4e..0c4d24e 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -214,5 +214,12 @@
   ;; TODO find a better binding
   :bind ("C-c c t t" . titlecase-dwim))
 
+(use-package caser
+  :elpaca (caser :host github :repo "emacsmirror/caser")
+  :bind
+  ("C-c c c" . caser-camelcase-dwim)
+  ("C-c c s" . caser-snakecase-dwim)
+  ("C-c c d" . caser-dashcase-dwim))
+
 (provide 'init-editor)
 ;;; init-editor.el ends here