pjeby / tag-wrangler

Rename, merge, toggle, and search tags from the Obsidian tag pane
607 stars 18 forks source link

[FEATURE] Show all untagged notes #90

Open alltiagocom opened 1 year ago

alltiagocom commented 1 year ago

It would be a good feature if at the top or at the bottom (maybe a choice made by the user?) that would automatically show a "tag" called "untagged" that would show all untagged notes.

Right now I can achieve this using Search and then this RegEx shared on the forum (-/#[a-z]\w+/), but this could be useful if it was available directly in the tag tree

mariomui commented 1 year ago

```dataview
table file.etags
FLATTEN join(
    filter(
        file.etags , (x) => startswith(x,"")
    )
) as maps
WHERE length(maps) = 0
sort file.ctime desc
LIMIT 10

it's a little faster if you use the database inside of obsidian to do this rather than regex. I use this piece of code on one of my tag notes.

Screen Shot 2023-06-03 at 2 57 57 AM
pjeby commented 11 months ago

The Tag Folder plugin has this feature, actually.