ivan-lednev / obsidian-task-archiver

Archive completed tasks in your Obsidian vault (plus other org-mode-like features)
MIT License
116 stars 12 forks source link

retain archived task in original file #96

Open lhe02 opened 5 months ago

lhe02 commented 5 months ago

really love this plugin!

i use this to archive specific kinds of tasks across different files and i find it helpful to have a bit of redundancy -- i like having the archived tasks in a separate file, but i'd still like to keep them in their original file. it would be helpful to have a setting that would let the task both get archived to a custom note but still remain in the original note, and maybe also have an option to append some metadata/text either before or after the task text in the original note to indicate it was archived, e.g.:

## before running archiver

# original note
- [ ] {task}

## after running archiver

# original note
- [x] #todo/archived {task}
- [x] {task} <appended_text>
(would be nice to have flexibility for where text is inserted)

# custom archival note
<however the user has it configured>

my current workaround is to just ctrl-z in the original note after archiving certain tasks... which works, but lacks that automatic rewriting!