MahmoudFawzyKhalil / obsidian-global-search-and-replace

A plugin to do a global search and replace in all your Obsidian vault files.
GNU Affero General Public License v3.0
83 stars 3 forks source link

New command for global YAML replacing #6

Closed imeed166 closed 9 months ago

imeed166 commented 1 year ago

Hi, I don't know if this is within the scope of the plugin, but I've always wanted to replace multiple YAML values in all my vault. And this plugin seems to do something similar. I was wondering if another command could be added to target YAML only values. Thank you very much.

MahmoudFawzyKhalil commented 1 year ago

By YAML, do you mean the frontmatter in each note?

---
key: value
---

*rest of note*
imeed166 commented 1 year ago

yes

MahmoudFawzyKhalil commented 1 year ago

I think this is hopefully quite possible to implement as the Obsidian API provides access to the frontmatter for each note. I will add it to the feature list. Thanks for your suggestion.

LuiZzz-Menezes commented 1 year ago

I need that too. I want to change a tag of some notes that its in frontmatter

Jack-KkKk commented 9 months ago

I need this feature as well. I would really appreciate it if you could add it.

imeed166 commented 9 months ago

This has been implemented here https://github.com/fez-github/obsidian-multi-properties/issues/2

MahmoudFawzyKhalil commented 9 months ago

Thank you @imeed166