Bind new functions in emacs 25

This commit is contained in:
Lars Tveito 2016-01-05 21:49:36 +01:00
parent 721b027fe9
commit d782dd248e

View File

@ -1279,6 +1279,9 @@
Bind some native Emacs functions. Bind some native Emacs functions.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(define-key custom-bindings-map (kbd "M-u") 'upcase-dwim)
(define-key custom-bindings-map (kbd "M-c") 'capitalize-dwim)
(define-key custom-bindings-map (kbd "M-l") 'downcase-dwim)
(define-key custom-bindings-map (kbd "C-j") 'newline-and-indent) (define-key custom-bindings-map (kbd "C-j") 'newline-and-indent)
(define-key custom-bindings-map (kbd "C-c s") 'ispell-word) (define-key custom-bindings-map (kbd "C-c s") 'ispell-word)
(define-key custom-bindings-map (kbd "C-c c") 'org-capture) (define-key custom-bindings-map (kbd "C-c c") 'org-capture)