A minimal command line todo list and note taking system
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
later.txt
now.txt
todo.sh

README.md

LogJammin'

A minimal command line todo list and note taking system

logjammin

Functionality

Todos

todo - lists all todos (now and later)

todo [now|later] - lists todos for now OR later

todo [now|later] <todo> - adds new todo to either list

todo done <text> - removes todo with specified text

todo [now|later] edit - opens either list in vim

Notes

note - lists all notes

note <note_name> - opens specified note in vim (with autocomplete, and "fuzzy" matching)

note new <new_name> - creates a new note and opens vim

note find <text> - returns list of notes whose file-names match provided text

note peek <note_name> - shows the first few lines of a given note

note old - shows the 20 oldest (date modified) notes

note rm <note_name> - deletes the specified note. (NOTE: BE CAREFUL WITH THIS. IT REMOVES THE FIRST NOTE RETURNED AFTER RUNNING A GREP COMMAND WITH THE PASSED-IN NOTE NAME)

Set-up

  1. Source todo.sh in your .zshrc (or elsewhere) - . ~/.todo/todo.sh
  2. Create a Notes and Todo directory (I put them in Dropbox)
  3. Copy the provided "now.txt" and "later.txt" files into the Todo directory
  4. Make sure the $NOTES and $TODO variables point to the correct locations (set in todo.sh)