Search code examples
sublimetext3

Sublime Text 3 Hides scrollbars


I would prefer to always see the scroll-bars in Sublime Text 3. The current behavior is for them to remain hidden until you start scrolling. Is there a setting I can change to make it behave this way? Is it part of the theme? Right now I am making the scroll-bars larger by modifying my theme (Cyanide)... I have

// in Cyanide.sublime-theme
[
    {
        "class": "scroll_bar_control",
        "attributes": ["horizontal"],
        "content_margin": [3, 4] //makes horiz scrollbar taller
    },
    {
        "class": "scroll_bar_control",
        "content_margin": [1, 3] //makes vert scrollbar taller
    }
]

Solution

  • This is under the overlay_scroll_bars setting. Overlaid scroll bars disappear when not active, so update your user preferences with the following:

    "overlay_scroll_bars": "disabled"