Giter Site home page Giter Site logo

skoenig / vimwiki-todo Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 71 KB

A Markdown-based variant of todo.txt plus some extra features

License: GNU General Public License v3.0

Python 55.80% Shell 39.89% Makefile 4.31%
todolist todo todo-list schedule todotxt markdown vimwiki vim

vimwiki-todo's Introduction

vimwiki-todo

A command line tool based on and inspired by Gina Trapani's todo.txt, reduced to only the essential commands and modified to work with VimWiki todo lists in markdown mode.

Why yet another todo list manager?

Todo list managers are a dime a dozen, so why another one? It's simple: I've tried many (great for procrastinating) and haven't found another one that has the exact features I wanted. So I wrote my own.

This tool is based on todo.txt simplifying some concepts for enhanced usability and task management:

  • Task prioritization: is intuitively managed by rearranging tasks within the list โ€” placing a task higher signals its importance.
  • Contexts: For grouping tasks with contexts, VimWiki tags are utilized, offering a robust tagging system.
  • Date and Context Filters: Tasks can be filtered based on their due dates or associated contexts, making it easier to navigate and prioritize tasks.
  • Archive Functionality: Provides a method to archive completed tasks, keeping the main task list clean and focused.
  • Recurring Tasks: Inspired by Graham Davies' todo.txt cron helper, allowing for the creation and management of tasks that occur on a regular basis.

Syntax

VimWiki todo lists have the following format:

- [X] implement 'archive' command :coding:
- [ ] add some more info to the README
    - [ ] add an intro
    - [ ] add some quick examples
- [ ] commit and push t:2022-05-01

In this example, the first task is completed, and is decorated with the context 'coding'. The second task has two sub-tasks and the third tasks has a due date set with 't:2022-05-01'.

Usage

Here are some quick examples how to use todo:

  • Add a task: todo add take the car to the workshop
  • List all tasks: todo ls
  • List tasks which contain the term 'car': todo ls car
  • List tasks grouped by context: todo context (you can also filter by term)
  • List tasks whose due date has past: todo past
  • List tasks that are due tomorrow: todo tomorrow
  • Edit the todo list with your default editor: todo edit (make sure the EDITOR env var is set)
  • Move all checked off tasks to the archive file: todo archive

Have a look at all available commands with todo help.

Installation

Run make install to install todo into TODO_DIR (defaults to ~/vimwiki).

Recurring Tasks Helper

To automate the creation of recurring tasks, you can use the helper script recur.py as a daily cron job. This is best suited for people whose workstation runs at the same time every day anyway. For everyone else, anacron might be the solution.

Run make install-recur to copy the script into TODO_DIR and create a configuration file recur.txt in the same directory. The configuration syntax follows a format inspired by remind:

{Wed} Take out trash
{Mon Wed Fri} backup filesystem
{29} pay rent check every month on the 29th
{1 15} do on 1st and 15th day of the month
{Nov 29} :email: birthday card every year to someone
{Nov 22 2007} Eat turkey
{Nov 27 *5} Keep adding task for 5 days after event
{Dec 01 +3} Add task 5 days before specified date

Tests

make test

License

GNU General Public License v3.0

vimwiki-todo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vimwiki-todo's Issues

recur.py recur.txt

does recur.py + recur.txt update the todo.md file automatically or does it have to be called with cronjob or anacron on a daily basis? Here, when I call '~/todo-dir/recur.py' in a shell, todo.md gets updated while ' 2023-02-13 21:57:18,891 ERROR recur: unable to parse line "
" ' gets prompted.

Bildschirmfoto_2023-02-13_22-47-08

'todo edit' prompts error

hello :)
'todo edit' prompts me : '/home/pi/bin/todo: Zeile 309: /home/pi/Dokumente/VimWiki/todo.md: Keine Berechtigung' here. OK, that could be done with setting the editor variable to vim and a reboot.
There seems to be a syntax-error in ~/bin/todo:
todo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.