nothingislost / obsidian-workspaces-plus

Quickly switch and manage Obsidian workspaces
GNU General Public License v3.0
197 stars 6 forks source link

Workspaces Plus

Artboard-2-3

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

Features

Workspace Indicator

Workspace Picker

Workspace Switcher modal

Hotkeys

Plugin Options

Theming Options

Workspace Overrides

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

Overriding a page in a Workspace

Extra

Compact Workspace Picker CSS Snippet ![image](https://user-images.githubusercontent.com/46250921/135287222-ada674cf-e8e9-4bbf-9d99-07c9892b8e76.png) ```css .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

Feedback

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

Credits

Changelog