Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

new_notes_location #586

Open
RetroTechCorner opened this issue May 15, 2024 · 3 comments
Open

new_notes_location #586

RetroTechCorner opened this issue May 15, 2024 · 3 comments

Comments

@RetroTechCorner
Copy link

馃殌 The feature, motivation and pitch

Could new_notes_location include a directory/folder as an option?
I think a dir (inside a workspace) was an option at some point (as I'm sure it worked with my 0_Inbox) but now it doesn't..

  -- Where to put new notes. Valid options are
  --  * "current_dir" - put new notes in same directory as the current buffer.
  --  * "notes_subdir" - put new notes in the default notes subdirectory.
  new_notes_location = "notes_subdir",

Alternatives

No response

Additional context

No response

@huantrinh1802
Copy link

    {
      name = "personal",
      path = "~/vaults/personal",
    },
    {
      name = "work",
      path = "~/vaults/work",
      -- Optional, override certain settings.
      overrides = {
        notes_subdir = "notes",
      },
    },
  },
  -- Optional, if you keep notes in a specific subdirectory of your vault.
  notes_subdir = "notes",

Is this what you are looking for?

@RetroTechCorner
Copy link
Author

No, not really. it's specifically for new notes (ie. I've my notes in ~/notes but new notes need to go to ~/notes/0_inbox
so perhaps you could 'extend' "new_notes_location" to a directory (and not only "current_dir" and "notes_subdir")?

@huantrinh1802
Copy link

If I understand your setup correctly, this is what you want from your example.

  {
    {
      name = "my_notes",
      path = "~/notes",
    },
    notes_subdir = "0_inbox",
    new_notes_location = "notes_subdir",
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants