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 Minimap
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
.
Solution 5
It's very easy in Sublime text 3. To hide Minimap:
View > Hide Minimap
user3675188
Updated on July 18, 2022Comments
-
user3675188 almost 2 years
It takes too much space on the window,
I tried some option in the configuration
It seems not working, any idea ?
User setting
"draw_minimap_border": false, "draw_minimap": false, "hide_minimap": true, "always_show_minimap_viewport": false
-
AdamG almost 7 yearsCan it be hidden by default, which is what I think this question was asking?
-
Sohel Ahmed Mesaniya almost 7 yearsOnce you perform this settings, this will remain as it is until you change it, regardless of whatever operations is performed on Sublime text
-
gArn over 6 yearsI find
"ctrl+k", "ctrl+m"
is a nice combo, as"ctrl+k", "ctrl+b"
is the default for toggling the side bar -
Amir Hassan Azimi about 6 years@SohelAhmedM it doesn't remain as default
-
Sohel Ahmed Mesaniya about 6 years@HassanAzimi please see my above comment
-
Amir Hassan Azimi about 6 years@SohelAhmedM I've seen it already. Still will not remain as default!
-
Jaakko about 5 yearsOpen only one sublime instance, set
View
->Hide Minimap
and close it. Then it worked for me (v3.2.1 Ubuntu 18.04). -
Jaakko about 5 yearsIt's annoying though that Sublime is steering away from the JSON configuration towards GUI based configuration.
-
mbigras about 3 yearsThe command palette solution is such a quick fix! I love when sublime uses the command palette!