aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2019-01-11 14:07:00 +0000
committerYann Herklotz <ymherklotz@gmail.com>2019-01-11 14:07:00 +0000
commita7deafced378c188b6c5c5014307b459e98324a6 (patch)
treefbb78e3f5a39bd94519ace1a9002b3f31b4fb5c8 /emacs
parente729e1fbf478aaee978872416b25697c7105e59c (diff)
downloaddotfiles-a7deafced378c188b6c5c5014307b459e98324a6.tar.gz
dotfiles-a7deafced378c188b6c5c5014307b459e98324a6.zip
Add dwim commands instead of default
Diffstat (limited to 'emacs')
-rw-r--r--emacs/loader.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs/loader.org b/emacs/loader.org
index 3ea53b1..a0e9215 100644
--- a/emacs/loader.org
+++ b/emacs/loader.org
@@ -120,6 +120,15 @@ buffer instead.
#+RESULTS:
: t
+#+BEGIN_SRC emacs-lisp
+ (global-set-key (kbd "M-u") 'upcase-dwim)
+ (global-set-key (kbd "M-l") 'downcase-dwim)
+ (global-set-key (kbd "M-c") 'capitalize-dwim)
+#+END_SRC
+
+#+RESULTS:
+: capitalize-dwim
+
*** Custom modeline
Editing the modeline. ~%c~ might be a bit slow though, so that could be removed