#!/bin/bash # mh - Minion Help echo "Usage:" echo "" echo "mn - minion new - edit a new file with the year and month in the name" echo "mh - minion help - print this help" echo "ml - minion list - list all files that match in ~/Journal/YYYY" echo "mo - minion open - open all files that match in ~/Journal/YYYY" echo "mf - minion find - find strings within files in ~/Journal/YYYY" echo "" echo "Examples:" echo "" echo "mn meeting topic - open a (new) file Journal/2026/04-meeting-topic.md" echo "ml 04 - list files created in April" echo "mo manager - open files named with 'manager' to edit" echo "" echo "Advanced Usage:" echo "" echo "mg - minion gather - gather matching files into a single file" echo "mp - minion print - convert matching files to HTML and open in Firefox (requires https://github.com/gomarkdown/markdown)" echo "ms - minion spell - open the matching file with 'aspell'" echo "mla, moa, etc - minion X all - act as 'ml' and 'mo', but include all previous years of Journal entries" echo "" echo "On vi integration:" echo "" echo "In vi - :r!ml will add list of files to the current buffer" echo "In vi - gf - opens the file name under the cursor - as long as it has no spaces"