/relative-numbers

Relative line numbers package for Atom

Primary LanguageCoffeeScriptMIT LicenseMIT

relative-numbers package

Example Screencast

Replaces the regular line numbers with relative numbers. Shows the current line number on the active line.

Supports vim-mode

In vim-mode's insert mode, line numbers will automatically revert back to absolute.

Customization

Change current line color

To change the color for the currently highlighted line, put the following in your stylesheet.

atom-text-editor.editor .relative.current-line {
  color: purple
}