tiny-todo : A simple todo list.
| script karma
Downloaded by 93
Comments, bugs, improvements
script versions (upload new version)
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
- completed task
+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.
|Untar the package in your .vim directory.|
Click on the package to download.
ip used for rating: 22.214.171.124