Simple plugin that shows the scrollbars only when they are needed.
[code]import sublime, sublimeplugin
class toggleScrollbarPlugin(sublimeplugin.Plugin):
def onActivated(self, view):
verticalScrollBar = view.options().get(‘wantVerticalScrollBar’)
if view.size() == view.visibleRegion().size():
if verticalScrollBar:
view.options().set(‘wantVerticalScrollBar’, False)
else:
if not verticalScrollBar:
view.options().set(‘wantVerticalScrollBar’, True)[/code]
A saved a copy here: pastebin.com/z1HKNNpP