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

Vintage​Lines

by co-dh ALL

Relative line numbers for Sublime Text 2's Vintage package

Details

  • 0.5.9
  • github.​com
  • 2 years ago
  • 1 hour ago
  • 7 years ago

Installs

  • Total 7K
  • Win 2K
  • Mac 3K
  • Linux 2K
Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4
Windows 0 3 0 2 2 0 1 2 0 0 0 0 1 0 2 4 1 0 0 2 0 0 1 0 0 0 0 0 0 0 0 0 0 2 2 1 0 0 1 0 1 1 2 0 0 1
Mac 0 1 1 0 0 0 1 0 0 0 0 0 3 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 2 1 2 0 0 0 1 2 0 1 0 0 1 0 0 0 1 0
Linux 0 0 0 0 0 1 0 1 0 0 0 2 0 0 0 1 0 0 3 1 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 1 0 0 0 0 2 1 0 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!):