Use nlinum instead of linum
Supposedly it's faster. Also - use the actual global mode. :-)
This commit is contained in:
parent
00288c7af0
commit
e29042f369
3 changed files with 5 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
|
||||||
* Enable `linum-mode` by default. Can be disabled by setting `prelude-minimalistic-ui` to `nil`.
|
* Enable `nlinum-mode` by default. Can be disabled by setting `prelude-minimalistic-ui` to `nil`.
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,7 @@
|
||||||
projectile
|
projectile
|
||||||
magit
|
magit
|
||||||
move-text
|
move-text
|
||||||
|
nlinum
|
||||||
operate-on-number
|
operate-on-number
|
||||||
smartparens
|
smartparens
|
||||||
smartrep
|
smartrep
|
||||||
|
|
|
@ -61,7 +61,9 @@
|
||||||
|
|
||||||
;; show line numbers at the beginning of each line
|
;; show line numbers at the beginning of each line
|
||||||
(unless prelude-minimalistic-ui
|
(unless prelude-minimalistic-ui
|
||||||
(linum-mode))
|
;; there's a built-in linum-mode, but we're using
|
||||||
|
;; nlinum-mode, as it's supposedly faster
|
||||||
|
(global-nlinum-mode t))
|
||||||
|
|
||||||
;; enable y/n answers
|
;; enable y/n answers
|
||||||
(fset 'yes-or-no-p 'y-or-n-p)
|
(fset 'yes-or-no-p 'y-or-n-p)
|
||||||
|
|
Loading…
Reference in a new issue