Browse Source

replace relative-line-numbers with linum-relative

Josh Bicking 8 years ago
parent
commit
ec5b6fec56
1 changed files with 6 additions and 4 deletions
  1. 6 4
      emacs

+ 6 - 4
emacs

@@ -76,7 +76,7 @@
  'auto-complete
  'auto-complete
  'fuzzy
  'fuzzy
  'general
  'general
- 'relative-line-numbers
+ 'linum-relative
  )
  )
 
 
 
 
@@ -203,8 +203,10 @@
 (general-vmap "[" 'evil-change)
 (general-vmap "[" 'evil-change)
 
 
 ;; Relative line numbers
 ;; Relative line numbers
-(require 'relative-line-numbers)
-(global-relative-line-numbers-mode)
+(require 'linum-relative)
+(setq linum-relative-current-symbol "")
+(linum-mode)
+(linum-relative-global-mode)
 
 
 ;; TODO:
 ;; TODO:
 ;; Go through the tutorials, skim the manuals
 ;; Go through the tutorials, skim the manuals
@@ -233,7 +235,7 @@
  '(initial-scratch-message "")
  '(initial-scratch-message "")
  '(package-selected-packages
  '(package-selected-packages
    (quote
    (quote
-    (relative-line-numbers general fuzzy auto-complete evil-tabs powerline-evil zenburn-theme magit iedit evil-leader))))
+    (linum-relative general fuzzy auto-complete evil-tabs powerline-evil zenburn-theme magit iedit evil-leader))))
 (custom-set-faces
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; If you edit it by hand, you could mess it up, so be careful.