config/doom: update snippets to roam2
This commit is contained in:
parent
db35fe2286
commit
f614e22a06
|
@ -2,4 +2,4 @@
|
|||
# name: Tag roam file as person
|
||||
# key: +person
|
||||
# --
|
||||
#+roam_tags: person
|
||||
#+filetags: :person:
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
# name: Tag roam file as tech
|
||||
# key: +tech
|
||||
# --
|
||||
#+roam_tags: tech software
|
||||
#+filetags: :tech:software:
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
# name: Add Org Roam tags
|
||||
# key: +t
|
||||
# --
|
||||
#+roam_tags:
|
||||
#+filetags:
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh -e
|
||||
# Move roam files into subfolders
|
||||
cd $DATA/2-standards/notes/roam
|
||||
find . -mindepth 1 -type d -printf '%f\n' | while read dir; do grep -l --directories=skip "roam_tags: $dir" * | xargs --verbose --no-run-if-empty mv -t "$dir"; done
|
||||
find . -mindepth 1 -type d -printf '%f\n' | while read dir; do grep -l --directories=skip "#+filetags: :$dir" * | xargs --verbose --no-run-if-empty mv -t "$dir"; done
|
||||
|
|
Loading…
Reference in New Issue