Triggering actions on open file (rename, search, delete, new sibling file/directory)
Triggering global actions (new file, new directory, search, toggle sidebar, sign out, change theme, etc.)
And follow some UX pattern like VSCode
Shift Shift opens palette in Command Mode (prefix $ in empty palette)
( Vim mode enabled ) : in NORMAL mode for vim commands (prefix : in empty palette)
Cmd o for file picker / create new file (no prefix for opening/creating files)
I want the file picker to also create new files. You can type the name of the file you want, and if there are no matches you can create a file of that name as a sibling of the open file else at root.
Probably, you'll want a way to specify note or directory (trailing slash like VSCode seems like a good way to do this)
If you want to create a file of the same name, and the active note has no sibling of that name, I want the option to create that file instead, perhaps at the end of the list of results with a hotkey to access it quickly.
Providing textual commands for
Shift Shift
opens palette inCommand Mode
(prefix$
in empty palette) ( Vim mode enabled ):
inNORMAL
mode for vim commands (prefix:
in empty palette)Cmd o
for file picker / create new file (no prefix for opening/creating files)