# Add a way to change what \`menu::Confirm\` does in the recent projects modal \(\#8688\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3efb871cd49d06608dd9c3d7ecc151982229d84d

Requested commit: 3efb871cd49d06608dd9c3d7ecc151982229d84d

Commit: 3efb871cd49d06608dd9c3d7ecc151982229d84d

Tree: c970e46ad714f9f3f5afc619d5b1538e47ebf41b

Author: Kirill Bulatov

Committer: GitHub

## Message

````
Add a way to change what `menu::Confirm` does in the recent projects modal (#8688)

Follow-up of
https://github.com/zed-industries/zed/issues/8651#issuecomment-1973411072

Zed current default is still to reuse the current window, but now it's
possible to do
```json
"alt-cmd-o": [
  "projects::OpenRecent",
  {
    "create_new_window": true
  }
]
```
and change this.

menu::Secondary confirm does the action with opposite window creation
strategy.

Release Notes:

- Improved open recent projects flexibility: settings can change whether
`menu::Confirm` opens a new window or reuses the old one
````

## Parents

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

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