Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 2: disable document preview

I tried searching for this, but there's a different feature in SublimeText that people call "preview", so I couldn't find any relevant info.

How do I disable the preview navigation image that's displayed within SublimeText2 when a document is open? Also, what is this feature called?

enter image description here

like image 623
Jakob Jingleheimer Avatar asked Jan 18 '13 00:01

Jakob Jingleheimer


2 Answers

This is called the "Minimap" in Sublime Text. To disable it, go to View -> Hide Minimap in the menus.

like image 140
John Lyon Avatar answered Oct 06 '22 10:10

John Lyon


If you'd like a keyboard shortcut to toggle this, you can create one by adding this:

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

...to your Preferences -> Key Bindings - User file. This sets it to the sequence Ctrl+K followed by Ctrl+M, which I chose just because it's similar to the shortcut (Ctrl+K, Ctrl+B) which toggles the sidebar, but you can set it to whatever you like.

like image 25
Nick F Avatar answered Oct 06 '22 09:10

Nick F