sponsor Vim development Vim logo Vim Book Ad

tiny-todo : A simple todo list.

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

created by
 
script type
utility
 
description
Overview:

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

Usage:

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
as the last project because completed tasks are moved 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)
g:TTodoAddAnnotation  -  Add extra information to the task. This may be useful for adding additional
                                          timestamped information for an external parser/analyzer of your tasks.

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.8 2020-01-20 7.0 Add ftdetect file.
ip used for rating: 54.224.124.217

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.
   
Vim at Github