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