From 46d7abb625dc5e0a86b554cca6bf12d15fe61107 Mon Sep 17 00:00:00 2001 From: David Beniamine Date: Fri, 10 Oct 2014 18:09:32 +0200 Subject: [PATCH] Readme updated --- README.markdown | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/README.markdown b/README.markdown index 2c9ecf5..7726b71 100644 --- a/README.markdown +++ b/README.markdown @@ -23,28 +23,30 @@ a nice two level sorting function designed for todo.txt files (see section This plugin gives syntax highlighting to [todo.txt](http://todotxt.com/) files. It also defines a few mappings, to help with edition of these files: -`-s` : Sort the file +`-s` : Sort the file -`-d` : Insert the current date +`-d` : Insert the current date `date` : (Insert mode) Insert the current date -`-x` : Mark task as done (inserts current date as completion date) +`-x` : Mark task as done (inserts current date as completion date) -`-X` : Mark all tasks as completed +`-X` : Mark all tasks as completed -`-D` : Remove completed tasks +`-D` : Remove completed tasks 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 ## New features -This fork provides a two level sorting function designed to do by project or -by context sorts, with a priority sort. +This fork provides a hierarchical sorting function designed to do by project +and/or by context sorts and a priority sort. -`-sc` : Sort the file by context (reverse) then by priority -`-sp` : Sort the file by project (reverse) then by priority +`-sc` : Sort the file by context then by priority +`-scp` : Sort the file by context, project then by priority +`-sp` : Sort the file by project then by priority +`-spc` : Sort the file by project, context then by priority The user can give argument for the two call to vim sort function by changing the following variables in its vimrc: