TodoTxt Syntax highlighter and costum command set. Port of Textmate tmTodoTXT bundle
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ftplugin
plugin
syntax
.gitignore
LICENSE
Readme.mkd

Readme.mkd

TodoTXT mode for Vim

Introduction

Todotxt is a command line todo manager originally started by Gina Trapani. All todos are managed via a simple structured textfile, todo.txt. This mode extends vim to handle todo.txt, done.txt and report.txt files.

Installation

If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/tpope/vim-fugitive.git

If you don't want to use Pathogen check out the mode from Github and move to the .vim directory

$ git clone https://github.com/sideshowcoder/vimtodotxt ~/Desktop/todotxt
$ mv ~/Desktop/todotxt/\* ~/.vim/

To set the right filetype you need to specify it in you .vimrc since the extension .txt collides with normal text files. One way is to specify an autocommand on read and newfile to match the exact name todo.txt for example

au BufNewFile,BufRead todo.txt set filetype=todotxt

Customizations

Variable Use Default
g:todotxt_config location of todotxt config file ~/.todo/config
g:todotxt_executable location of todo.sh script todo.sh

Commands

TodoArchive

Archive the currently marked as done todos.

:TodoArchive

TodoDone

Mark the current todo as done

:TodoDone

License

MIT