obsidian-workspaces-plus icon indicating copy to clipboard operation
obsidian-workspaces-plus copied to clipboard

Add `cmd-enter` "to create" shortcut to modal/picker

Open jsmorabito opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. Currently, a workspace whos name is part of another workspace cannot be created from the modal/switcher. The way around this is to create workspace with different name, then rename it. In the example image, Im trying to create the workspace "design," but cannot due to already having a workspace titled "obsidian design"

Pasted image 20210921211844

Describe the solution you'd like adding cmd-enter "to create" is the quickest solution I can think of to allow users to create workspaces in this scenario. we are currently not using 'cmd' in either the autosave on or autosave off versions of the modal/picker. It could be another shortcut too if there's any reason not to use cmd

Notes

  • the language "to create" makes me think that it will make a new empty workspace with that name, which we cannot do yet... "save as" would be more accurate to behavior that's occurring but it feels sort of strange.

jsmorabito avatar Sep 24 '21 14:09 jsmorabito

Sure you can, just press shift-enter with "Design" typed into the search box. Shift enter respects what's in the text box first, and if no text is present, falls back to the selected item.

nothingislost avatar Sep 24 '21 19:09 nothingislost

🤦‍♂️ yup you're right haha. I assumed that you couldn't do that since I didn't see the shortcut in the menu because im using the autosave on menu. maybe we should add it back to the autosave on menu?

jsmorabito avatar Sep 24 '21 19:09 jsmorabito