aardhyn / notes

Minimal note app
https://notes.aardhyn.dev
MIT License
1 stars 0 forks source link

Command Palette #13

Open aardhyn opened 10 months ago

aardhyn commented 10 months ago

Providing textual commands for

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.

aardhyn commented 10 months ago

implements #11