/VintageLines

Relative line numbers for Sublime Text 2's Vintage package

Primary LanguagePython

CURRENTLY NOT BEING MAINTAINED – IF YOU WOULD LIKE TO TAKE COMMAND, LET ME KNOW!

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