2015-04-22 10:31:31 -03:00
2015-04-16 23:10:49 -03:00
2015-04-16 23:10:49 -03:00
2014-11-17 10:00:15 -02:00
2011-05-31 15:55:05 -03:00
2014-11-01 21:39:09 -02:00
2015-04-22 10:31:31 -03:00
2014-11-01 21:39:09 -02:00

(Apr 2015) Important note: mappings were changed!

As it was suggested on issue #28 (and as recommended by vim's documentation), all mappings were changed to use <localleader> instead of <leader>. If you don't have maplocalleader set on your environment then yours is probably \. For more information on that regard, please take a look at :h <Localleader>.

Quick install

git clone git://github.com/freitass/todo.txt-vim.git
cd todo.txt-vim
cp -R * ~/.vim

This plugin gives syntax highlighting to todo.txt files. It also defines a few mappings, to help with editing these files:

<localleader>-s : Sort the file

<localleader>-s+ : Sort the file on +Projects

<localleader>-s@ : Sort the file on @Contexts

<localleader>-sd : Sort the file on dates

<localleader>-j : Lower the priority of the current line

<localleader>-k : Increase the priority of the current line

<localleader>-a : Add the priority (A) to the current line

<localleader>-b : Add the priority (B) to the current line

<localleader>-c : Add the priority (C) to the current line

<localleader>-d : Insert the current date

date<tab> : (Insert mode) Insert the current date

<localleader>-x : Mark task as done (inserts current date as completion date)

<localleader>-X : Mark all tasks as completed

<localleader>-D : Move completed tasks to done.txt

If you want the help installed, run ":helptags ~/.vim/doc" inside vim after having copied the files. Then you will be able to get the commands help with: :h todo.txt

Description
Vim plugin for Todo.txt
Readme 342 KiB
Languages
Vim Script 75%
Python 25%