How could I hide the minimap bar on sublimetext 3

Solution 1:

Click on View (check the mouse arrow/pointer in below image) on top menu bar or hit Alt + V and click Hide Minimapenter image description here

Solution 2:

I added a shortcut on Sublime Text 3.

Go to Preferences -> Key Bindings. In user key bindings I added:

[
    { "keys": ["ctrl+f2"], "command": "toggle_minimap" },
]

Obviously you can choose another key combination.

Solution 3:

I don't believe there's a setting in Sublime Text 3 to hide the minimap by default.

This solution has worked perfectly for me, however:

Save the following Python code as minimap_setting.py in the User directory (in Preferences -> Browse Packages):

# -*- encoding: utf-8 -*-

import sublime
import sublime_plugin

class MinimapSetting(sublime_plugin.EventListener):

    def on_activated(self, view):
        show_minimap = view.settings().get('show_minimap')
        if show_minimap:
            view.window().set_minimap_visible(True)
        elif show_minimap is not None:
            view.window().set_minimap_visible(False)

Then, you just add "show_minimap": false in your settings and you're good to go.

Solution 4:

Ctrl+Shift+p to open the command palette, then type in minimap.

enter image description here

Solution 5:

It's very easy in Sublime text 3. To hide Minimap:

View > Hide Minimap