A simple python script for keeping track of TODO items in a single markdown file. This script borrows heavily from the offline art of bullet journaling.
- Python3 installed somewhere on your system path
Clone this repo to somewhere locally
mkdir -p ~/Projects/todo
cd ~/Projects/todo
git clone https://github.com/RobertTownley/todo_script.git .
Then add it to your path via a symlink
ln -s ~/Projects/todo/main.py ~/bin/TODO
As long as it's been added to your path, you can now run TODO
(or case-insensitive todo
if you're on mac) and it will open your editor to a newly-generated ~/TODO.md
file.
- If you don't use
nvim
, you'll want to set yourTODO_EDITOR
environment variable. I set it tonvim
personally. - The script defaults to using
~/TODO.md
as the filepath for the created file. You can change this by setting yourTODO_FILEPATH
environment variable.