Browse Source

Use nlinum instead of linum

Supposedly it's faster. Also - use the actual global mode. :-)
custom
Bozhidar Batsov 5 years ago
parent
commit
e29042f369
  1. 2
      CHANGELOG.md
  2. 1
      core/prelude-packages.el
  3. 4
      core/prelude-ui.el

2
CHANGELOG.md

@ -4,7 +4,7 @@
### 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

1
core/prelude-packages.el

@ -75,6 +75,7 @@
projectile
magit
move-text
nlinum
operate-on-number
smartparens
smartrep

4
core/prelude-ui.el

@ -61,7 +61,9 @@
;; show line numbers at the beginning of each line
(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
(fset 'yes-or-no-p 'y-or-n-p)

Loading…
Cancel
Save