-;; Time-stamp: <2014-08-13 12:59:01 kmodi>
+;; Time-stamp: <2014-10-30 19:03:21 kmodi>
 
-;; NLinum
-
-(req-package nlinum
-  :require (verilog-mode cperl-mode python-mode)
+;; Linum Relative
+(req-package linum-relative
+  :require (linum)
   :config
   (progn
-    (setq global-nlinum-mode -1
-          nlinum-format      "%4d ") ; right aligned, 4 char wide line num col
-
-    (defun turn-on-nlinum ()
-      "Turn on nlinum mode in specific modes."
+    (defun modi/turn-on-linum ()
+      "Turn on linum mode in specific modes."
       (interactive)
       (dolist (hook '(verilog-mode-hook
                       emacs-lisp-mode-hook

                      html-mode-hook
                      css-mode-hook
                      makefile-gmake-mode-hook))
        (remove-hook hook 'nlinum-mode)))

    (turn-on-nlinum)))


(setq setup-linum-loaded t) ;; required.. used in setup-visual
(provide 'setup-linum)

                      html-mode-hook
                      css-mode-hook
                      makefile-gmake-mode-hook))
        (add-hook hook 'linum-mode)))

    (defun modi/turn-off-linum ()
      "Unhook linum mode from various major modes."
      (interactive)
      (dolist (hook '(verilog-mode-hook
                      emacs-lisp-mode-hook
