]> apps.delaporte.us Git - minion.git/blob - bin/mh
Add option to open an unrelated search term
[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"
8 echo "mo - minion open - open all files that match"
9 echo ""
10 echo "Examples:"
11 echo ""
12 echo "mn meeting topic - open a (new) file Journal/2026/04-meeting-topic.md"
13 echo "ml 04 - list files created in April"
14 echo "mo manager - open files named with 'manager' to edit"
15 echo ""
16 echo "Advanced Usage:"
17 echo ""
18 echo "mp - minion print - convert matching files to HTML and open in Firefox (requires https://github.com/gomarkdown/markdown)"
19 echo "ms - minion spell - open the matching file with 'aspell'"
20 echo "mla, moa - minion X all - act as 'ml' and 'mo', but include all previous years of Journal entries"
21 echo ""
22 echo "On vi integration:"
23 echo ""
24 echo "In vi - :r!ml <term> will add list of files to the current buffer"
25 echo "In vi - gf - opens the file name under the cursor - as long as it has no spaces"