Vintage Relative Lines
Relative numbering for Sublime Text's Vintage mode.
Details
Installs
- Total 933
- Win 434
- Mac 252
- Linux 247
| Feb 21 | Feb 20 | Feb 19 | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 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 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Vintage Relative Numbering
Relative numbering for Sublime's Vintage mode.

Install Instructions
Ensure that Vintage mode is enabled for Sublime.
In Command or Visual mode you will have control over the line numbering style.
From Package Control (Recommended)
Install Package Control.
Run the “Package Control: Install Package” command.
Find and install the “Vintage Relative Lines” plugin.
Restart Sublime Text if there are issues.
Manually
Navigate to Sublime's Packages directory.
This can be found by opening up Sublime's console (
Ctrl + ` (backtick), orView > Show Console), and runsublime.packages_path().Place the
vintage_relnumsfolder inside the Packages directory.You can do this by cloning or downloading these files. For cloning, from the Packages directory run
git clone https://github.com/bicarlsen/vintage_relnums.gitin a console.
Commands
Two commands are provided with the plugin.
Toggle Line Mode
Command: vrl_toggle_line_mode
Default Key Map: ctrl + alt + l
Cycles through available line numbering modes.
When using phantoms these modes are
hybrid,relative, andabsolute.When using native numbering the modes are
hybridandabsolute.
Toggle Native
Command: vrl_toggle_native
Default Key Map: ctrl + alt + n
Toggles between using phantoms and native line numbering, if available.
Settings
Change settings for the plugin by opening the Preferences > Package Settings > Vintage Relative Lines menu, and clicking on Settings - User. This opens up the user settings file. By clicking on Settings - Default the default settings file is opened, and all the settings with an explanation are provided.
Keybindings
The default key bindings for the package's commands are given in the Commands section. These bindings can be modified by openeing the Preferences > Package Settings > Vintage Relative Lines menu and clicking on Key Bindings – Default. One can add to the deafult key bindings in the Key Bindings – User file, which is also accesible via Preferences > Key Bindings.
Helping Out
Please feel free to help out and imporve this plugin. It is my first sublime plugin so is fairly simple and should be easy to improve.
Acknowledgements
I used OdatNurd's Plugin 101 tutorial videos to get started. If you're interested in learning how to develop Sublime plugins it is a great starting point.