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
  • 6 years ago
  • 1 hour ago
  • 11 years ago

Installs

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