summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
diff options
context:
space:
mode:
authorAlan Pearce2014-08-13 19:35:39 +0100
committerAlan Pearce2014-08-13 19:35:39 +0100
commitd09f8ce923755a57bdf5aa8b65204202be49c517 (patch)
tree7032a1682ad89f97487521e612ffe8ae9a96f066 /tag-emacs/emacs.d/init.el
parentd5001338c9ad9d5cf54941a39254597cec4f7801 (diff)
downloadnixfiles-d09f8ce923755a57bdf5aa8b65204202be49c517.tar.lz
nixfiles-d09f8ce923755a57bdf5aa8b65204202be49c517.tar.zst
nixfiles-d09f8ce923755a57bdf5aa8b65204202be49c517.zip
Emacs: Rebind C-M-[ae] to be useful in text modes
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 4cc5fdd3..37c79240 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -959,6 +959,9 @@ mouse-1: Display Line and Column Mode Menu"))))))
 
 ;;;; Text editing
 
+(bind-key "C-M-a" #'backward-paragraph text-mode-map)
+(bind-key "C-M-e" #'forward-paragraph text-mode-map)
+
 ;; Enable upcase and downcase-region
 (put 'upcase-region 'disabled nil)
 (put 'downcase-region 'disabled nil)