Add better defaults for upcase/downcase commands on regions
This commit is contained in:
parent
2a0508c20d
commit
30e75706a5
1 changed files with 5 additions and 0 deletions
5
init.el
5
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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue