ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vintage​Lines

by co-dh ST2/ST3

Relative line numbers for Sublime Text 2's Vintage package

Details

  • 0.5.9
  • github.​com
  • 2 years ago
  • 2 hours ago
  • 6 years ago

Installs

  • Total 7K
  • Win 2K
  • OS X 3K
  • Linux 2K
Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4
Windows 1 0 4 0 1 1 0 3 3 0 0 0 0 1 2 0 0 0 1 1 2 0 0 0 1 0 0 0 0 0 1 0 2 0 0 1 0 1 0 0 1 0 0 0 1 0
OS X 0 0 2 2 0 0 0 0 1 0 1 0 0 3 2 1 0 0 0 1 1 0 0 0 2 0 0 2 0 0 1 0 0 0 1 0 2 0 1 0 1 2 1 1 0 1
Linux 0 0 3 0 0 0 2 0 0 0 1 1 1 0 1 1 0 0 2 0 0 0 0 1 0 1 1 0 0 0 1 2 1 0 1 0 1 0 0 0 0 0 0 2 0 0

Readme

Source
raw.​githubusercontent.​com

Forked from tmanderson.

v0.5.8

show current line number.
when toggle off, do not show line number.
use two set of pngs. For current line, use the 3 digits set, for relative lines, use 2 digits set.

VintageLines v0.5

Jankily making relative line numbers in Vintage mode

VintageLines is available via Sublime Package Control. Now compatible with ST3!

Relative lines in command mode

Relative lines in command mode

Normal lines in insert mode

Normal line numbers in insert mode

Notes

If you prefer to always have relative line numbers on set the setting "vintage_lines.force_mode": true.

If you prefer a key binding toggle relative lines on and off you can set one up by using key binding code like the following:

{"keys": ["ctrl+t"], "command": "toggle_setting", "args": {"setting": "vintage_lines.force_mode"}}

Note that you should also set vintage_lines.force_mode in your User Preferences to your preferred default for the toggle to be effective in both command mode and insert mode.

CONTRIBUTORS (THANKS A LOT!):