Workspaces Plus

by NothingIsLost
5
4
3
2
1
Score: 72/100

Description

Category: Productivity Tools

The Workspaces Plus plugin is an extension of Obsidian's core workspaces feature, providing a more comprehensive and user-friendly experience. With Workspaces Plus, you can easily switch between workspaces, create new ones, rename or delete existing ones, and even override pages in a workspace using template variables. The plugin also includes customizable hotkeys for switching between workspaces and loading specific workspaces by name. Additionally, it adds a data attribute to the HTML document body that indicates the currently active workspace name, allowing you to set workspace-specific styling. Overall, Workspaces Plus enhances Obsidian's workspace management capabilities, making it easier to organize your notes and stay focused.

Reviews

No reviews yet.

Stats

246
stars
88,438
downloads
19
forks
1,833
days
12
days
12
days
26
total PRs
0
open PRs
3
closed PRs
23
merged PRs
116
total issues
63
open issues
53
closed issues
78
commits

Latest Version

12 days ago

Changelog

Hotkey/number badges, custom workspace icons, and full workspace management (create/rename/delete) directly from settings.

Added

  • Quick switcher badges (#116, #137). Each workspace can now show its assigned custom hotkey, or (optionally) a Linear-style number from 1-9 you can press to jump straight to it, right in the quick switcher — replacing the old hover-revealed rename/delete/platform icon row (still reachable via ctrl ↵ rename and shift ⌫ delete). A new ctrl , shortcut in the switcher jumps straight to this plugin's own settings tab (#72).
  • Custom workspace icons (#88). Pick a Lucide icon and color for any workspace from its settings page (with autocomplete and a live preview), shown next to its name in the quick switcher and in place of the default icon in the status bar — both off by default.
  • Manage workspaces from settings: rename a workspace directly from its own settings page; create a new, genuinely blank workspace via a "+" button on the Workspaces heading, or the new New empty workspace command, which opens a dialog to set its name, icon, and color up front (#42); delete a workspace from settings, with a warning — and an automatic switch to another workspace — if you're deleting the one you're currently on (#17).
  • Renamed the "Per workspace" / "Per mode" settings headings to "Workspaces" / "Modes" for brevity.

README file from

Github

Workspaces Plus

Artboard-2-3

Workspaces Plus is a plugin that expands the functionality of workspaces in Obsidian.

[!WARNING] Obsidian's core workspace plugin must be activated for Workspaces Plus to work properly

Features

Workspace Indicator

  • current active workspace shown in status bar
  • click on workspace name in status bar to open workspace picker menu
  • shift-click status bar icon or workspace name to save the workspace

Workspace Picker

  • switch, delete, rename, and create new workspaces

Workspace Switcher modal

  • open with assignable hotkey
  • switch, delete, rename, and create new workspaces

Hotkeys

  • open Workspaces Plus switcher modal
  • open specific workspace by name
  • cycle to the next workspace
  • save the current workspace and cycle to the next workspace

Plugin Options

  • Toggle keyboard shortcuts on/off for Workspace Picker
  • Toggle workspace delete confirmation on/off
  • Set default workspace switch behavior to always save when switching

Theming Options

  • Workspaces Plus adds a data attribute to the HTML document body which can be used to set workspace specific styling
    • The data attribute is body[data-workspace-name="My Workspace"]
    • The attribute will be updated upon the loading of any new workspace

Workspace Overrides

  • Ability to override pages in a workspace using the templates variables.

How to use

After enabling the plugin from the settings menu, you will see that a workspace icon has been added to the status bar in the lower right corner of the interface. If you are already using workspaces in Obsidian, you will notice that the name of your current active workspace is located next to the that icon.

[!WARNING] Obsidian's core workspace plugin must be activated for Workspaces Plus to work properly

Creating a Workspace

You can create a workspace through either the Workspace Picker or the Workspace Switcher modal with the same workflow

  1. Type your new workspace name into the input field
  2. Use shift-enter to create the new workspace

Renaming a Workspace

Rename workspaces from the picker or modal by clicking on the pencil icon next to the workspace name

Deleting a Workspace

Workspaces can be deleted by either using the trach can icon next to the workspaces name or pressing the shortcut shift-delete while the workspace is selected in the menu

Opening a Workspace

  1. Open the Workspace Switcher via hotkey or click on the workspace icon or name in status bar to open the Workspace Picker
  2. You can open a workspace by clicking on it with your mouse or by pressing enter after navigating to it with the up/down arrows on your keyboard

Saving Workspaces

  • By default, workspaces are not automatically saved when switched
  • You can save a workspace with shift-click on the workspace icon or name in the status bar
  • From either switcher menu you can use shift-enter to save your current active workspace or alt-enter to save your current active workspace and switch to the new one you have selected
  • In the Plugin Options menu (located in Obsidians settings) you can toggle on a setting which will automatically save the active workspace on switch

Overriding a page in a Workspace

  • In settings scroll to the bottom and open the workspace you want to modify.
  • In the text box next to the page ID enter the string to load with template variables
    • Example: 1 Journal/{{date:YYYY}}/{{date:YYYY-MM}}/{{date:YYYY-MM-DD}}.md
  • Switch to the workspace and the page will be loaded with the value from the override with the variables replaced.

Mobile

Workspaces Plus runs on mobile (phone and tablet). A few differences from desktop:

  • Obsidian hides the status bar on mobile, so the status-bar workspace indicator isn't shown. Use the Open workspace switcher command (assign it to the mobile toolbar or a hotkey), or turn on Show workspace sidebar ribbon icon in settings — it's off by default, the same as on desktop.
  • The switcher and picker show their rename / delete / platform actions inline (no hover needed) with larger touch targets.
  • Workspace Modes is desktop only. Modes snapshot and restore Obsidian's core configuration, which is shared with mobile, so applying them on a phone or tablet would overwrite mobile-specific settings. Plain workspace switching, renaming, saving, overrides, and file tracking all work normally on mobile.

Extra

image

.workspaces-plus-modal.quick-switch {
padding: 0px;
border-radius: 5px;
min-width: 13em;
}

.workspaces-plus-moda.quick-switch .workspace-item {
padding-left: 2em;
padding-right: 4em;
font-size: 0.9em;
}

.workspaces-plus-modal.quick-switch .prompt-results {
padding-top: 0;
}

.workspaces-plus-modal.quick-switch .prompt-results::-webkit-scrollbar {
display: none;
}

.workspaces-plus-modal.quick-switch .workspace-results {
padding: 0px;
}

.workspaces-plus-modal.quick-switch .workspace-item.is-selected {
border-radius: 0px !important;
}

.workspaces-plus-modal.quick-switch input.prompt-input {
font-size: 0.9em;
padding: 0px 1em;
border-top-left-radius: 5px !important;
border-top-right-radius: 5px !important;
border-radius: 0px;
border: none !important;
border-bottom: 1px solid var(--background-modifier-border) !important;
}

.workspaces-plus-modal.quick-switch input.prompt-input:focus {
box-shadow: none;
border: none !important;
border-bottom: 1px solid var(--background-modifier-border) !important;
}

.workspaces-plus-modal.quick-switch .delete-workspace {
right: 0.7em !important;
}

.workspaces-plus-modal.quick-switch .rename-workspace {
right: 2em !important;
}

Installation

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/obsidian-workspaces-plus/.
  • via Obsidian Community Plugins browser

Feedback

Share feedback, issues, and ideas on github, with our Workspaces Plus feedback survey, or tag the authors on Discord!

Credits

Changelog

  • 0.4.17 - Beta

    • Fix issue with workspaces using tabs so they are parsed correctly for overrides.
    • Added details on how to use overrides to template files and paths.
  • 0.3.1

    • Fix bug in workspace rename logic which was preventing hotkey reassignment
  • 0.3.0

    • Add hotkey support for loading specific workspaces
      • This feature will create a command for every workspace in your vault, which can then be bound to hotkeys
      • This feature supports renaming workspaces while maintaining the associated hotkey
      • You can add these workspace load commands to cMenu and workspace renames will automatically update the cMenu button as well
    • Add a data attribute to the body of the HTML document which indicates the currently active workspace name.
      • The selector looks like this: body[data-workspace-name="My Workspace"]

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Redirect
4 years ago by Jacob Levernier
An Obsidian plugin for adding aliases to any file
New Note New Window
4 years ago by Pedro Reyes
Plugin for opening new notes in a floating window in Obsidian (https://obsidian.md)
Todo sort
4 years ago by Ryan Gomba
A plugin for Obsidian that sorts todos within a note
External Link Helper
4 years ago by Jhonghee Park
Obsidian plugin for link suggestion
Awesome Image
4 years ago by AwesomeDog
Obsidian image plugin: zoom, pan, rotate and gallery-preview images, then auto-organize them — download remote images, deduplicate by SHA-256 into a content-addressed media folder, fix Markdown image links, convert wikilink embeds, find unused images and export notes with their images.
Tab Rotator
3 years ago by Steven Jin
Obsidian Rotate opened tabs with a specified time interval
SyncFTP
3 years ago by Alex Donnan
An Obsidian.md plugin that allows users to add their own SFTP host and credentials to sync to and from.
Tag Buddy
3 years ago by David Fasullo
Unlock powerful tag editing features in Reading Mode. Add, remove and edit tags across your vault. Use tag inboxes to level up any workflow with a powerful idea assembly line.
VARE
3 years ago by 4Source
This is a plugin for Obsidian (https://obsidian.md). Allows you to easily manage your plugins and themes inside Obsidian.
Settings Management
2 years ago by Huajin
Manage settings options, including show enabled/disabled plugins and css, grid layout, save current plugins/css enable config for quick enable/disable, etc.
Explorer Hider
2 years ago by Mara-Li
Hide folder & files from the explorer using a plugin and a bit of CSS :>
Maximise Active Pane
6 years ago by death_au
A plugin for [Obsidian](https://obsidian.md) which simply fills the workspace with the active pane.
koncham workspace
5 years ago by mano
obsidian workspace enhancement [not maintained]
Window Collapse
5 years ago by Guilherme Quental
Fold Properties
2 years ago by James Alexandre
Adds Fold/Unfold Properties Function to Folder Context Menu
Vault Review
2 years ago by Alexander
This plugin allows you to create a snapshot of your vault and randomly review files from it 1-by-1.
Check and Delete
2 years ago by Danitiate
An Obsidian plugin that allows you to quickly clean up temporary list-items with the press of a button
Task Director
2 years ago by Cybertramp
A plugin that allows you to easily manage tasks in bulk.
File Manager
2 years ago by Juan Sicilia
A file manager plugin for Obsidian
Open Editors
2 years ago by 4Source
This is a plugin for Obsidian (https://obsidian.md). Adds a view which shows the opened groups and the tabs inside them. Allow to close groups or all tabs at once.
Backgroundset
2 years ago by daonali
similar as vscode background
Clone Vault
2 years ago by Sebastian Baroni
Clones the current Obsidian vault by copying settings and folder structure without note contents.
Tab Group Arrangement
2 years ago by situ2001
Arrange the tab groups of Obsidian in a more flexible way
Viewer ftags
a year ago by d7sd6u
Add ftags and ftag-children as chips on top of views
Quick Switcher++
4 months ago by darlal
Enhanced Quick Switcher plugin for Obsidian.md
Vertical Tabs
4 months ago by oxdc
An Obsidian plugin that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.
Spaces
13 days ago by Peter Jamrozinski
A lens for your Obsidian vault