Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Finder's FinderSpawnTab option #391

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export default defineConfig({
'showpathbar.md',
'fxpreferredviewstyle.md',
'_fxsortfoldersfirst.md',
'finderspawntab.md',
'fxdefaultsearchscope.md',
'fxremoveoldtrashitems.md',
'fxenableextensionchangewarning.md',
Expand Down
64 changes: 64 additions & 0 deletions docs/finder/finderspawntab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
title: Open folders destination | Finder
description: Set whether folders open in a new tab or a new window
head:
- - meta
- property: 'og:title'
content: macOS defaults > Finder > Open folders destination
- - meta
- property: 'og:description'
content: Set whether folders open in a new tab or a new window
---

# Open folders destination

Set whether folders shown in the Finder open in a new tab or a new window when using `⌘ cmd`+`double-click`, and which option is shown in the context menu.

- **Tested on macOS**:
- Sonoma
- **Parameter type**: bool

## Set to `true` (default value)

Open folders in a new tab

```bash
defaults write com.apple.finder "FinderSpawnTab" -bool "true" && killall Finder
```

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please feel free to add the screenshots you took:

Suggested change
<img
src="./images/finderspawntab/true.png"
alt="Example output with value set to true"
width="953" height="571" style="height: auto"
/>

This helps a lot to understand!

<img
src="./images/FinderSpawnTab/true.png"
alt="Example output with value set to true"
width="953" height="571" style="height: auto"
/>

## Set to `false`

Open folders in a new window

```bash
defaults write com.apple.finder "FinderSpawnTab" -bool "false" && killall Finder
```

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<img
src="./images/finderspawntab/false.png"
alt="Example output with value set to false"
width="953" height="571" style="height: auto"
/>

<img
src="./images/FinderSpawnTab/false.png"
alt="Example output with value set to true"
width="953" height="571" style="height: auto"
/>

## Read current value

```bash
defaults read com.apple.finder "FinderSpawnTab"
```

## Reset to default value

```bash
defaults delete com.apple.finder "FinderSpawnTab" && killall Finder
```
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```
```
## Set value from UI
1. Access Finder settings from macOS UI
2. Toggle "Open folders in tabs instead of new windows" value


## Set value from UI

1. Access Finder settings from macOS UI
2. Toggle "Open folders in tabs instead of new windows" value
Binary file added docs/finder/images/FinderSpawnTab/false.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/finder/images/FinderSpawnTab/true.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.