spacemacs/core
jcaw d4cca74854 Add support for visual line numbers
Emacs 26 added built-in support for line numbers, relative line numbers, and
visual line numbers. Spacemacs supports only absolute and relative, but there is
no way to access the visual mode. It's hard to get around this, since Spacemacs
abstracts line numbers to a reasonably high degree.

Arguably, `visual` is much more useful than `relative` as a display type. Visual
line numbers are like relative line numbers, but only lines that are actually
showing are counted. This means:

  1. Hidden lines are not counted. If a large amount of text is folded, the line
     numbers won't jump from "10" to "546". This is particularly useful in
     buffers like `magit-status`, where a large amount of information is folded
     by default.

  2. Lines that are wrapped are counted as multiple lines, since they're being
     displayed as multiple lines in the editor. Each visual line will be
     numbered - unlike `relative`, where the entire thing is numbered... Once.

With standard relative line numbers, you can't actually navigate using the line
numbers in the sidebar as soon as folded or wrapped lines are introduced. Since
this is one of the main use cases for relative line numbers, this is a big
problem.

Visual mode fixes that problem. Every line that's being displayed is labelled.
Numbers always correspond to the actual number of lines you'd need to navigate
to reach that line.

This commit extends Spacemacs' line number interface to provide visual line
number support.
2019-06-23 19:16:44 +02:00
..
aprilfool
banners Add inverted Dogemacs banner for dark themes 2019-06-02 21:42:32 +02:00
gnupg
info
libs Update quelpa.el to 2c17c4f9 2019-01-20 15:59:04 +02:00
templates Add support for visual line numbers 2019-06-23 19:16:44 +02:00
core-command-line.el
core-configuration-layer.el Fix sort in insert-lazy-install-configuration 2019-04-26 21:41:39 +02:00
core-custom-settings.el custom setting: don't write to dotfile before loading all of them 2019-02-18 14:21:06 -05:00
core-debug.el
core-display-init.el
core-documentation.el fix links 2019-05-18 13:25:44 +03:00
core-dotspacemacs.el Customizable major-mode for new empty buffers 2019-06-17 08:26:56 +02:00
core-dumper.el
core-emacs-backports.el
core-env.el Add force option to spacemacs//init-spacemacs-env call 2019-06-13 18:42:15 +02:00
core-fonts-support.el
core-funcs.el spacemacs/recompile-elpa with argument deletes all existing *.elc files 2019-06-12 20:15:51 +02:00
core-hooks.el
core-jump.el
core-keybindings.el
core-load-paths.el
core-micro-state.el Propose a couple of spelling corrections 2018-08-02 00:20:06 +03:00
core-progress-bar.el
core-release-management.el Propose a couple of spelling corrections 2018-08-02 00:20:06 +03:00
core-spacemacs-buffer.el Add inverted Dogemacs banner for dark themes 2019-06-02 21:42:32 +02:00
core-spacemacs.el Add dotspacemacs-undecorated-at-startup template variable 2019-06-01 00:01:20 +02:00
core-themes-support.el Add more Kaolin themes to spacemacs-theme-name-to-package. 2019-05-29 20:05:08 +02:00
core-toggle.el
core-transient-state.el
core-use-package-ext.el
core-versions.el