Relative line numbers package for Atom
CoffeeScript CSS
Clone or download
Pull request Compare This branch is 73 commits ahead, 2 commits behind dimatter:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
styles
.gitignore
CHANGELOG.md
LICENSE.md
README.md
circle.yml
package-lock.json
package.json
screencast.gif

README.md

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
}