]> us-delaporte.pagekite.me Git - minion.git/blob - bin/mh
Update to use $EDITOR
[minion.git] / bin / mh
1 #!/usr/bin/bash
2 echo "Usage:"
3 echo ""
4 echo "mn - minion new - edit a new file with the year and month in the name"
5 echo "mh - minion help - print this help"
6 echo "ml - minion list - list all files that match"
7 echo "mo - minion open - open all files that match"
8 echo ""
9 echo "Examples:"
10 echo ""
11 echo "mn meeting topic - open a (new) file Journal/2026/04-meeting-topic.md"
12 echo "ml 04 - list files created in April"
13 echo "mo manager - open files named with 'manager' to edit"
14 echo ""
15 echo "Advanced Usage:"
16 echo ""
17 echo "mp - minion print - convert matching files to HTML and open in Firefox (requires https://github.com/gomarkdown/markdown)"
18 echo "ms - minion spell - open the matching file with 'aspell'"
19 echo "mla, moa - minion X all - act as 'ml' and 'mo', but include all previous years of Journal entries"
20 echo ""
21 echo "On vi integration:"
22 echo ""
23 echo "In vi - :r!ml <term> will add list of files to the current buffer"
24 echo "In vi - gf - opens the file name under the cursor - as long as it has no spaces"