nvim-neorg / neorg

Modernity meets insane extensibility. The future of organizing your life in Neovim.
GNU General Public License v3.0
6.45k stars 214 forks source link

Exclude directories / files in summary #972

Open SteveWolligandt opened 1 year ago

SteveWolligandt commented 1 year ago

Issues

Feature description

After watching the tutorial series on Youtube I wanted to give the summary module a shot. I am documenting the stuff I am doing during my workday in the journal to not forget details for our weekly meeting. Also I have additional documents for my assigned issues which I link in the journal. Now I have a lot of journal entries and these also appear in the summary. It would be nice if there is a possibility to exclude directories and / or files from the summary.

Help

No

Implementation help

No response

KodyVB commented 11 months ago

This doesn't directly solve the problem of being able to exclude files/directories in the summary but it is a bit of a workaround: If you set up separate workspaces for the journal and everything else, the journal entries will be excluded from the summary. For example, in my configuration, I have:

...
["core.dirman"] = {
  config = {
    workspaces = {
      norg = "~/Documents/neorg/neorg",
      journal = "~/Documents/neorg/journal",
    },
    default_workspace = "norg",
  },
},
["core.journal"] = {
  config = {
    workspace = "journal",
  },
},
...

That way, everything is still under my neorg directory, but broken up into neorg/neorg and neorg/journal.

I actually feel kinda bad for taking so long to post this, because I did this months ago, made a mental note to post this workaround, and then completely forgot, lol