Workspaces Plus

by NothingIsLost
5
4
3
2
1
Score: 46/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

243
stars
78,306
downloads
15
forks
1,682
days
10
days
1,245
days
6
total PRs
2
open PRs
0
closed PRs
4
merged PRs
111
total issues
70
open issues
41
closed issues
0
commits

Latest Version

3 years ago

Changelog

patch to fix plugin after obsidian 1.0 update. thank you very, very much @aropele

README file from

Github

Workspaces Plus

Artboard-2-3

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

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

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.

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
Commander
4 years ago by Johnny✨ and phibr0
Commander - Obsidian Plugin | Add Commands to every part of Obsidian's user interface
New Note New Window
3 years ago by Pedro Reyes
Plugin for opening new notes in a floating window in Obsidian (https://obsidian.md)
Todo sort
3 years ago by Ryan Gomba
A plugin for Obsidian that sorts todos within a note
External Link Helper
3 years ago by Jhonghee Park
Obsidian plugin for link suggestion
Awesome Image
3 years ago by AwesomeDog
One-stop solution for image management.
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
2 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
2 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
5 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
Task Collector (TC)
5 years ago by ebullient
Manage tasks and logs within an Obsidian note.
Fold Properties
a year ago by James Alexandre
Adds Fold/Unfold Properties Function to Folder Context Menu
Vault Review
a year 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
a year ago by Danitiate
An Obsidian plugin that allows you to quickly clean up temporary list-items with the press of a button
Task Director
a year ago by Cybertramp
A plugin that allows you to easily manage tasks in bulk.
File Manager
a year ago by Juan Sicilia
A file manager plugin for Obsidian
Open Editors
a year 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
a year ago by daonali
similar as vscode background
Clone Vault
a year ago by Sebastian Baroni
Clones the current Obsidian vault by copying settings and folder structure without note contents.
Tab Group Arrangement
a year 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