Jose David Murillo74 downloadsSwitch the file explorer between named focus presets, each showing only the folders you choose.
Switch the Obsidian file explorer between named focus presets, like iPhone Focus modes for your vault.
Each preset is a saved set of any number of folders, from anywhere in the vault. While a preset is active, the file explorer shows only those folders (with everything inside them) plus the parent folders needed to reach them. Switch between presets in one click, or from the command palette or a hotkey.

Other plugins, such as Folder Focus Mode and Explorer Focus, focus the explorer on a single folder. Focus Modes is for switching between saved contexts that each span several folders, for example "Client work" = Projects/Acme + Inbox + Reference/Contracts.
Hiding is purely visual and limited to the file explorer:
Once the plugin is approved, open Settings → Community plugins → Browse, search for Focus Modes, then install and enable it.
JDMurillo-Art/Obsidian-Focus-Modes.main.js, manifest.json, and styles.css from the latest release.<your vault>/.obsidian/plugins/focus-modes/.Requires Obsidian 1.13.0 or later. On older versions of Obsidian, version 0.1.0 is installed instead.
Create a preset. Go to Settings → Focus Modes → New preset. A new preset opens at the top of the list. Give it a name and icon, add folders by typing in the Folders box and picking from the list, then click Confirm (or Cancel to discard it).
Edit a preset. Each preset is a card showing its icon, name, and folders. Click Edit to open it, make your changes, then click Confirm to apply them or Cancel to discard them. Use the arrows to reorder presets and the trash icon to delete one.
Switch presets using any of these:
Only one preset is active at a time. Activating a different preset switches directly to it; activating the active one turns focus off.
The active preset is remembered across restarts. A one-off folder focus is not.
When you rename or move a folder, presets that include it (or anything inside it) update automatically. Deleted folders are removed from presets.
getSortedFolderItems). If a future Obsidian update changes it, Focus Modes shows a single notice and leaves the explorer untouched rather than breaking it.See CREDITS.md.