Skip to content

Relative line numbers for Sublime Text 2's Vintage package

Notifications You must be signed in to change notification settings

co-dh/VintageLines

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!):

About

Relative line numbers for Sublime Text 2's Vintage package

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 69.7%
  • C++ 30.3%