emacs linum
authorPeng Li <seudut@gmail.com>
Tue, 11 Aug 2015 14:36:22 +0000 (22:36 +0800)
committerPeng Li <seudut@gmail.com>
Tue, 11 Aug 2015 14:36:22 +0000 (22:36 +0800)
emacs.d/config/init-linum.el
emacs.d/init.el

index 98b1af9..a0f38d5 100644 (file)
@@ -1,5 +1,18 @@
 ;; refer to https://github.com/aaronbieber/dotfiles/blob/master/configs/emacs.d/lisp/init-linum.el
 ;; Stuff for line numbers.
+
+
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(highlight-current-line-face ((t (:background "gray22"))))
+ '(linum ((t (:background "#000000" :foreground "gray40" :height 0.8 :slant italic :weigth light))))
+ '(linum-relative-current-face ((t (:inherit linum :foreground "Yellow" :weight light :height 0.8)))))
+
+(require 'linum-relative)
+
 (defface linum-current
 ;  '((t (:inherit linum :weight bold :underline "#555")))
   '((t (:inherit linum :weight bold :foreground "Yellow")))
index 5441c95..0a58966 100644 (file)
 ;; ---------------------------------
 ;; linum-relative
 
-(require 'linum-relative)
 
 (custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
- '(highlight-current-line-face ((t (:background "gray22"))))
- '(linum ((t (:background "#000000" :foreground "gray40" :height 0.8 :slant italic :weigth light))))
- '(linum-relative-current-face ((t (:inherit linum :foreground "Yellow" :weight light :height 0.8))))
  '(mode-line ((t (:foreground "#030303" :background "#bdbdbd" :box nil :family "Source Code Pro for Powerline" :height 100))))
  '(mode-line-inactive ((t (:foreground "#f9f9f9" :background "#666666" :box nil :family "Source Code Pro for Powerline" :height 100)))))