nothingislost / obsidian-workspaces-plus

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

Use shortcut keys to save a specific workspace #66

Open ss818 opened 2 years ago

ss818 commented 2 years ago

When wwitching jobs, I like to save the current workspace so that I can quichly restore it next time. I made several workspaces named "temporary". However, saving the workspace as some "temporary" is still very cumbersome.

I hope to be able to save a certain "temporary" workspace using shortcut.

jsmorabito commented 2 years ago

can you share more details, maybe with an example, so I can better understand what you are trying to accomplish?

nothingislost commented 2 years ago

I think I get it. Just like we have a shortcut to load a named workspace, they want a shortcut to save a named workspace.

Lets say you load workspace A and make a bunch of changes. Then you want to switch to Workspace B temporarily but you don't want to save all of your changes to Workspace A, you just want to switch to Workspace B and then go back to your previous state.

Having a shortcut to save the current state to Workspace Temp would allow you to hit the keyboard shortcut, switch to Workspace B, and then revert back by loading Workspace Temp

jsmorabito commented 2 years ago

@nothingislost that makes sense. would this workflow only work if autosave is turned off then? an extension of this idea that might be useful is to have autosave be toggleble per workspace. A mode called "autosave" that would only toggle the autosave option on and off could even be created to make this workflow even more efficient

nothingislost commented 2 years ago

Yes, auto save would need to be off for this to work. Auto save per workspace probably warrants a separate issue.

ss818 commented 2 years ago

Sorry, I rarely use github and I am very unskilled. You have fully understood what I mean.