One of the main barriers to consistent note-taking is the time it takes to write a note. This one is quite fast. Lumberjack is an extension to make it easier to interface with this file and aggregate the notes you want.
- Clone repository
- Designate a .txt file you want to use to store the notes and put this is in place of <notes.txt>
eval `opam config env`- compile with
make note - Set up .bash_profile
lumberjack () {
ocamlrun ~/lumberjack/main.byte -i <notes.txt> "$1" "$2"
}
alias ff=lumberjack
- Type
ff -ninto your terminal - Type the text of the note
- enter
-f <string> Finds all notes containing <string>
-fc <string> Prints the number of notes containing keyword
-gd Prints note from date. Date must be of form MM/DD/YYYY
-gds Prints note from date range. Date range must be of form MM/DD/YYYY-MM/DD/YYYY
-ga Prints all notes
-m Prints character count metrics from past months
-nc Prints the total number of notes
-r Generate a random note template
-n Write a new note
-ly Prints notes from today last year