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

Ruler​Column

by gerardroche ST3

A Sublime Text plugin that shows ruler columns only on lines where the text overflows.

Details

Installs

  • Total 368
  • Win 177
  • OS X 104
  • Linux 87
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7
Windows 0 0 0 1 0 0 0 0 0 0 0 0 0 2 0 1 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 2 0 1
OS X 0 0 0 0 1 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 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 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 2 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

RULER COLUMN

A Sublime Text plugin that shows ruler columns only on lines where the text overflows.

Menu > Preferences > Settings:

{
    "ruler_column": 120
}

You can also set the width (defaults to 0):

{
    "ruler_column_width": 0
}

Customising the color

In newer versions of Sublime Text (~= 3154) customising the color is straight forward enough.

Create a color scheme override in your Sublime Text User directory (find the User directory via Menu > Preferences > Browse Packages...). The override file must be the same name as the color scheme you want to override e.g. if you wanted to override the MonokaiFree color scheme then you would create a color scheme override file named MonokaiFree.sublime-color-scheme in your Sublime Text User directory. Here is an example:

{
    "rules":
    [
        {
            "scope": "ruler.column",
            "foreground": "#f92672",
            "background": "#f926729d"
        }
    ]
}