X-Git-Url: https://us-delaporte.pagekite.me/gitweb/minion.git/blobdiff_plain/3cb071d4349ce044d5e2d2a9207b25f1c419ab37..1b46195e386f2b00cbb94bf4aa1d17ea22541ca7:/bin/mh diff --git a/bin/mh b/bin/mh index df48f4c..202606d 100755 --- a/bin/mh +++ b/bin/mh @@ -1,19 +1,27 @@ -#!/usr/bin/fish +#!/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" -echo "mp - minion print - convert matching files to HTML and open in Firefox (requires https://github.com/gomarkdown/markdown)" -echo "mo - minion open - open all files that match" -echo "ms - minion spell - open the matching file with `aspell`" +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 file Journal/2026/04-meeting-topic.md" +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 "mla, moa - minion X all - act as `ml` and `mo`, but include all previous years of Journal entries" +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"