Rewrote/improved core initfiles

This commit is contained in:
Henrik Lissner 2014-07-16 03:28:06 -04:00
parent 8fa05453eb
commit f484556a8d
8 changed files with 345 additions and 151 deletions

View file

@ -20,6 +20,11 @@
(if (fboundp 'fringe-mode)
(fringe-mode 4))
;; Dynamic linum with +1 padding
(defadvice linum-update-window (around linum-dynamic activate)
(let* ((w (length (number-to-string (count-lines (point-min) (point-max)))))
(linum-format (concat "%" (number-to-string (+ w 1)) "d "))) ad-do-it))
;;;; GUI Settings ;;;;;;;;;;;;;;;;;;;;;