sponsor Vim development Vim logo Vim Book Ad

tiny-todo : A simple todo list.

 script karma  Rating 0/0, Downloaded by 87    Comments, bugs, improvements  Vim wiki

created by
script type

A simple todo-list with a possibility for time tracking.


The script registers the filetype tiny-todo associated with files with the
postfix todo. An example of a todo file:

* Project 1

- task 1

* Project 2

- task 2

* Archive

- completed task
+active 20161207133819
+inactive 20161207133824
+completed 20161207133825 (Project 2)

Lines beginning with a star indicate the name of the project. Inside each project,
add new tasks with french lines. It is recommended that you add an archive project to
the end as the archive command closes the task and moves it to the end of the file.

The following functions are provided in the filetype plugin:

g:TTodoStartWorking()  -  Mark a task as active
g:TTodoStopWorking     -  Mark a task as inactive
g:TTodoCompleteTask    -  Mark a task as completed (moves the task to the end of the file)

An example configuration in .vimrc:

autocmd Filetype tiny-todo nnore <leader>tta :call g:TTodoStartWorking()<cr>
autocmd Filetype tiny-todo nnore <leader>tti :call g:TTodoStopWorking()<cr>
autocmd Filetype tiny-todo nnore <leader>ttc :call g:TTodoCompleteTask()<cr>

In order to keep track of time spent, you may write a script to parse the archived tasks.
install details
Untar the package in your .vim directory.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
tiny-todo.tar 0.5 2017-05-20 7.0 Improve project name regexp.
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo