NotePlan / plugins

The main NotePlan repository, which contains the source code for all NotePlan plugins. If a release entry has been created, it will be available for installation from within NotePlan application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open note in new window|split: Add current note to the top of the list

dwertheimer opened this issue · comments

Super minor thing here, but I wanted to use Window Tools to open the current note in the editor as a new floating window, and when I ran the command I was a little surprised that the current project note was not the top item in the list. I had to search for the document in the list.

Screen Cap 2024-03-20 at 13 02 22@2x

Could be a separate command "Open Current Document in New Window" but then that would add two more command. I think just adding the current document to the top of the pick list would be great.

Also, maybe an xcallback option for the first param does that automatically (e.g. "<current>"), and a second boolean var that allows for it to be opened fullscreen

Just remembered that I added this to the helper previously, so you can add the current doc first part of this request with a simple change to how you call the function:

Screen Cap 2024-03-20 at 13 09 54@2x

export async function chooseNote(

/open current in new window ...?

Honestly don't love the command bar sometimes. Shows me too many commands or not enough