# Add setting for minimap on active editor only \(\#31390\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/4bbb7b5c2f84a8f5129c1fbf5eb8db21ae7f9f56)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 4bbb7b5c2f84a8f5129c1fbf5eb8db21ae7f9f56

Requested commit: 4bbb7b5c2f84a8f5129c1fbf5eb8db21ae7f9f56

Commit: 4bbb7b5c2f84a8f5129c1fbf5eb8db21ae7f9f56

Tree: 71bdd645a71362c70218a8490d1b9336ce517810

Author: Alvaro Parker

Committer: GitHub

## Message

````
Add setting for minimap on active editor only (#31390)

Release Notes:

- Add a setting to show the minimap only on the current active editor
(file)
- This can be configured on `settings.json`: 
```json
{
  "minimap": {
    "display_in": "active_editor", //  defaults to "all_editors"
  }
}

```

- The minimap won't hide if you go from an editor pane to the terminal,
the project panel, the search bar, etc. It will only hide if you go from
one editor pane to another.

Preview:


![image](https://github.com/user-attachments/assets/87b476a2-148b-497e-9e97-ea390c545c87)

Only the active editor (left) displays the minimap.
````

## Parents

- [a69ebf038aff56be94e6ec5f35b7448dfafaa37f](https://git.cafe/gitcafe/zed/commit/a69ebf038aff56be94e6ec5f35b7448dfafaa37f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/4bbb7b5c2f84a8f5129c1fbf5eb8db21ae7f9f56?format=markdown)
