StatusBarControls
Customize Sublime Text status bar to your liking. Some examples are better than words:
Simple with icons
SublimeLinter support
Monospace font with centered padding
Spacey
Bare-bones(but you can define order)
More elments: size indicator, clock, git, shortened path
Size indicators: full, selection, multiple point, point, simple(with icon or text)
Each mode can have a configurable toggled state. You switch status bar mode or toggle the state in the panel switch. For example, from this:
You then select the switch(you can name them as you want):
can become this (but it’s just an example, it depends on the configuration)
The elements are dynamic, if there is nothing to show, they will remain hidden. There are three pre-made settings, for now supported elements are:
Size indicator: from full with multiple selections to point and size only
Clock: with seconds or not, similar to Status Bar Time by lowliet
Git status: same as GitStatusBar by randy3k
Shortened path: up to 2 dirs above
linter: SublimeLinter messages
If you use the git badge, you should disable others that you use, or you will see them both.
It’s very customizable, you can define:
- order
- toggling states
- spacing and padding (automatic spacing with centering)
- icons
- separators:
- starting, in-between and final can be different for each mode
- additional separators for item type
Hope you like it
SublimeLinter support
If you want to use the SublimeLinter element, you must edit sublimelinter.py and replace line 409 with:
if persist.settings.get('using_status_bar_controls', False):
SublimeLinter.SLinterErrorMessage = status
else:
view.set_status('sublimelinter', status)
and then this at line 59:
SLinterErrorMessage = None
Commands
From the palette, StatusBarControls: Update
when you make changes to your settings and want to apply them.
Credits
GitStatusBar by randy3k for the git badge
Status Bar Time by lowliet for the clock
Todo
For now nothing but if you have suggestions about other elements to include, make your suggestion (or a pull request).
License
MIT