diff options
author | Case Duckworth | 2021-10-05 08:32:54 -0500 |
---|---|---|
committer | Case Duckworth | 2021-10-05 08:32:54 -0500 |
commit | 3dd81b2efe906f664c0bca802058e525ed322a87 (patch) | |
tree | cea1b6fe37ef6fb20ed5ef0e6a69888dfaa36940 /init.el | |
parent | Add TODOs (diff) | |
download | emacs-3dd81b2efe906f664c0bca802058e525ed322a87.tar.gz emacs-3dd81b2efe906f664c0bca802058e525ed322a87.zip |
Add spongebob-case
Studlify is ... too complicated.
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/init.el b/init.el index 52eab26..a810370 100644 --- a/init.el +++ b/init.el | |||
@@ -386,16 +386,12 @@ | |||
386 | 386 | ||
387 | (:with-map case-map | 387 | (:with-map case-map |
388 | (require 'titlecase) | 388 | (require 'titlecase) |
389 | (require 'acdw) | ||
389 | (:bind "c" #'capitalize-dwim | 390 | (:bind "c" #'capitalize-dwim |
390 | "t" #'titlecase-dwim | 391 | "t" #'titlecase-dwim |
391 | "u" #'upcase-dwim | 392 | "u" #'upcase-dwim |
392 | "l" #'downcase-dwim | 393 | "l" #'downcase-dwim |
393 | "s" (defun studlify-dwim (count) | 394 | "s" #'spongebob-case-dwim)) |
394 | "Studlify region if active, or COUNT words if not." | ||
395 | (interactive "*p") | ||
396 | (if (region-active-p) | ||
397 | (studlify-region (region-beginning) (region-end)) | ||
398 | (studlify-word count))))) | ||
399 | 395 | ||
400 | (add-hook 'after-make-frame-functions | 396 | (add-hook 'after-make-frame-functions |
401 | (defun after-make-frame@maximize (frame) | 397 | (defun after-make-frame@maximize (frame) |