add linum-relative
authorJoerg Jaspert <joerg@nsb-software.de>
Wed, 2 Jul 2014 15:28:22 +0000 (17:28 +0200)
committerJoerg Jaspert <joerg@nsb-software.de>
Wed, 2 Jul 2014 15:28:22 +0000 (17:28 +0200)
.emacs.d/config/emacs.org

index 24ef0e9..f48d15b 100644 (file)
@@ -2250,7 +2250,11 @@ gnus, so we have a list of modes where we don't want to see it.
       (unless (member major-mode linum-mode-inhibit-modes-list)
         ad-do-it))
 
-    (ad-activate 'linum-on))
+    (ad-activate 'linum-on)
+    (use-package linum-relative
+      :ensure linum-relative
+      :bind ("C-c r" . linum-relative-toggle))
+    )
   :init
   (global-linum-mode 1))
 #+END_SRC