# Cmd+w should close the settings pane

**URL:** <https://forum.obsidian.md/t/cmd-w-should-close-the-settings-pane/71968>\
**Category:** Feature requests\
**Created:** [November 26, 2023, 11:04pm UTC](https://forum.obsidian.md/t/cmd-w-should-close-the-settings-pane/71968 "2023-11-26T23:04:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![henrikn](https://forum.obsidian.md/user_avatar/forum.obsidian.md/henrikn/32/55864_2.png) [@henrikn](https://forum.obsidian.md/u/henrikn)\
**Post date:** [November 26, 2023, 11:04pm UTC](https://forum.obsidian.md/t/cmd-w-should-close-the-settings-pane/71968/1 "2023-11-26T23:04:14Z")

</div>

### Use case or problem

I’m used to navigating macOS with keyboard shortcuts.

I can open Obsidian settings with the conventional cmd+, but unlike in most apps I can’t close the settings pane/window with cmd+w. This slows me down and causes some frustration.

There is the “esc” key, but that will only close the settings pane if at the top level. Otherwise it just goes back a level. If I’m looking at the details of a community plugin, esc brings me back to the plugin list, esc again to the top-level settings pane, and esc again finally closes it.

### Proposed solution

For cmd+w to close the settings pane.

I don’t believe it conflicts with anything. It currently seems to have no effect.

“Esc” should remain since it does something different and useful.

Two preemptive examples of cmd+w closing things that aren’t strictly windows:

- Chrome settings open a tab that (like other tabs) can be closed with cmd+w
- [Arc](https://arc.net/) “Peek” windows are modal, much like Obsidian settings, and can be closed with cmd+w (or “esc”)

## Related requests

> [@Open Settings in a new window by default](https://forum.obsidian.md/t/open-settings-in-a-new-window-by-default/39214):
>
> Use case or problem Whenever making any setting change, especially ones that we can look at what the change does, for example font-family, it becomes difficult to check on smaller screen sizes since the settings modal hides most of the note behind. Proposed solution Now that Obsidian can open new windows, it only makes sense that the setting is a window by itself so it can be dragged and resized separately while looking at the changes in the notes/interface behind clearly. Current workaroun…

Implementing settings as a new window would probably get cmd+w closing for free. But until it happens (if at all), my proposal would be an improvement.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 29, 2024, 2:12pm UTC](https://forum.obsidian.md/t/cmd-w-should-close-the-settings-pane/71968/2 "2024-04-29T14:12:22Z")

</div>

Right now, the setting is a modal window. Not a pane, nor a tab, nor an independent window. Hence why cmd/ctrl-w do not make sense.

> [@Open settings in a new tab](https://forum.obsidian.md/t/open-settings-in-a-new-tab/43020):
>
> Use case or problem As tabs are supported natively, can we have an option to open the settings in a new tab. This can help avoid making changes in the settings pane, closing it, checking the changes in the editor and hopping back to the settings pane to make further changes. This will be very helpful when we are updating any settings related to themes as one needs few iterations to get to the desired result Proposed solution Open settings in a tab. Current workaround (optional) Multiple time …

> [@Open Settings in a new window by default](https://forum.obsidian.md/t/open-settings-in-a-new-window-by-default/39214):
>
> Use case or problem Whenever making any setting change, especially ones that we can look at what the change does, for example font-family, it becomes difficult to check on smaller screen sizes since the settings modal hides most of the note behind. Proposed solution Now that Obsidian can open new windows, it only makes sense that the setting is a window by itself so it can be dragged and resized separately while looking at the changes in the notes/interface behind clearly. Current workaroun…

---

<div class="post-metadata">

**Author:** ![ratilev197](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/r/f1d935/32.png) [@ratilev197](https://forum.obsidian.md/u/ratilev197)\
**Post date:** [April 29, 2024, 2:20pm UTC](https://forum.obsidian.md/t/cmd-w-should-close-the-settings-pane/71968/3 "2024-04-29T14:20:59Z")

</div>

> [@WhiteNoise](#):
>
> Right now, the setting is a modal window. Not a pane, nor a tab, nor an independent window. Hence why cmd/ctrl-w do not make sense.

Modal windows of other applications in macOS are closed with the CMD+W combination, but for some reason this does not make sense in Obsidian.

---

<div class="post-metadata">

**Author:** ![henrikn](https://forum.obsidian.md/user_avatar/forum.obsidian.md/henrikn/32/55864_2.png) [@henrikn](https://forum.obsidian.md/u/henrikn)\
**Post date:** [May 4, 2024, 5:07pm UTC](https://forum.obsidian.md/t/cmd-w-should-close-the-settings-pane/71968/4 "2024-05-04T17:07:06Z")

</div>

Yeah, there are other examples (I gave one in my original post). There isn’t a strong idiom either for or against cmd+w being “allowed” for closing a modal.

To me, that combined with the convenience makes it worth it.

Two further ideas to maybe make it more palatable:

1. Make it a configurable keyboard shortcut so you can at least opt into (or maybe out of) it.

2. And/or do what Raycast does and have cmd+esc close all the way back to the top level. This would IMO be better than nothing but worse than cmd+w for being less discoverable.
