How to disable VS Code minimap in Windowed mode?

Toggle minimap command has been added since vscode 1.16. Hit command + shift + p and select View: Toggle Minimap.


There is no way to do this in VS Code. Currently there is only the "editor.minimap.enabled": false setting which can be true or false and either always enables the minimap or always disables it.

Unfortunately, as shown in this issue, there is also no "toggleMinimap" command to assign to keybindings.

You might find this extension useful, though, as it can be used to create a toggle minimap command:

settings:

"settings.cycle": [
    {
        "setting": "editor.minimap.enabled"
    }
]

keybindings.json:

{
    "key": "ctrl+shift+t",
    "command": "settings.cycle.workbench.colorTheme",
    "when": ""
}

Simplest way is go to: View -> Toggle Minimap

Update:

In newer versions: View -> Show Minimap


To remove/disable/hide VS Code Minimap,
Go to the View tab and uncheck this: View > Show Minimap

remove/disable/hide VS Code Minimap


1) Go to File -> Preferences -> Keyboard Shortcuts 2) type in "View: minimap" 3) right click and add a key binding. I like to use ctrl+m ("m" for minimap)

If there are existing key bindings, you can use another one, or click the existing one(s) listed, then right click them and remove the binding before repeating steps 2 and 3 above.