diff --git a/init.el b/init.el index 98126fc..c93c040 100644 --- a/init.el +++ b/init.el @@ -55,6 +55,11 @@ (global-set-key (kbd "M-z") #'zap-up-to-char) +;; Better than default: act on the region if active +(bind-key "M-c" 'capitalize-dwim) +(bind-key "M-l" 'downcase-dwim) +(bind-key "M-u" 'upcase-dwim) + (setq-default c-basic-offset 4) (setq c-default-style "linux")