obsidian-periodic-notes icon indicating copy to clipboard operation
obsidian-periodic-notes copied to clipboard

FR: Open periodic note in a new pane if it isn't already open

Open ryanjamurphy opened this issue 3 years ago • 4 comments

The idea: provide a simple way of opening periodic notes in a new pane, instead of taking over the current pane.

Right now, the options to do so include:

  • Remember what day it is (ha!) and use the Quick Switcher to type out the filename for the corresponding periodic note, or find it in the file explorer, and open it as a new pane
  • Open an arbitrary new pane (e.g., open the Quick Switcher and just hit enter on the first result), then invoke the Open [period]'s Note command

Pseudocode:

- Invoke command
- Get the filename for the target note
- Get the open panes
- Check open panes: does one have the filename of the target note?
    - if yes, focus on it
    - if no, open a new pane, then open the target note in the newly opened pane

ryanjamurphy avatar Jun 23 '21 21:06 ryanjamurphy

I think this would be a good addition to the NLDates quickswitcher https://github.com/argenos/nldates-obsidian/issues/9

assigns FR to @argenos

liamcain avatar Jun 30 '21 13:06 liamcain

@liamcain do you have the option to transfer the issue to the nldates repo? I might be able to finally ship the date navigator (thinking mid-July) and I might be able to include this.

argenos avatar Jul 02 '21 15:07 argenos

Hi, just came to post the exact same feature request as Ryan's. :) This would be really helpful, especially if it can be assigned a keyboard shortcut.

I am also using the workaround Ryan suggests (quick switcher to open a random note in a new pane before switching to Today's note).

dbyler avatar Nov 30 '21 05:11 dbyler

Adding a note to support the open in new pane request.

In the core Daily Notes plugin, pressing command+enter on the 'open today's daily note' command opens the note in a new pane rather than the focussed pane. It would be great if this plugin also had that functionality.

Callumk7 avatar Aug 08 '22 15:08 Callumk7