]> gitweb.michael.orlitzky.com - emacs.d.git/commitdiff
Add new key bindings for forward- and backward-paragraph.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 24 Mar 2011 00:39:19 +0000 (20:39 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 24 Mar 2011 00:46:50 +0000 (20:46 -0400)
.emacs

diff --git a/.emacs b/.emacs
index f8ddfd66018214230511c5d3b10642681eeb15de..67010c42eb4f31740c6ac38ad931f3100e95a177 100644 (file)
--- a/.emacs
+++ b/.emacs
@@ -7,6 +7,12 @@
 (global-set-key "\C-m" 'newline-and-indent)
 (global-font-lock-mode t)
 
+;; These are otherwise bound to C-Up and C-Down. To heck with that
+;; nonsense, M-n and M-p are unused and analogous to C-f, C-b and M-f,
+;; M-b respectively.
+(global-set-key "\M-p" 'backward-paragraph)
+(global-set-key "\M-n" 'forward-paragraph)
+
 ;; Gentoo *or somebody* made the default too small.
 ;; Make it too big to overcompensate.
 (set-default-font "DejaVu Sans Mono-14")