From 6c5a37e6c685e9e5a3ed9677e4d0d0c6b05e745f Mon Sep 17 00:00:00 2001 From: Leandro Freitas Date: Wed, 6 May 2015 16:50:08 -0300 Subject: [PATCH] Improved README --- README.markdown | 42 ++++++++++++++++++------------------------ 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/README.markdown b/README.markdown index 63ba634..e3da742 100644 --- a/README.markdown +++ b/README.markdown @@ -12,33 +12,27 @@ As it was suggested on issue [#28](https://github.com/freitass/todo.txt-vim/issu This plugin gives syntax highlighting to [todo.txt](http://todotxt.com/) files. It also defines a few mappings, to help with editing these files: -`-s` : Sort the file +Sorting tasks: + `s` Sort the file + `s+` Sort the file on +Projects + `s@` Sort the file on @Contexts + `sd` Sort the file on dates -`-s+` : Sort the file on +Projects +Edit priority: + `j` Decrease the priority of the current line + `k` Increase the priority of the current line + `a` Add the priority (A) to the current line + `b` Add the priority (B) to the current line + `c` Add the priority (C) to the current line -`-s@` : Sort the file on @Contexts +Date: + `d` Set current task's creation date to the current date + `date` (Insert mode) Insert the current date -`-sd` : Sort the file on dates - -`-j` : Lower the priority of the current line - -`-k` : Increase the priority of the current line - -`-a` : Add the priority (A) to the current line - -`-b` : Add the priority (B) to the current line - -`-c` : Add the priority (C) to the current line - -`-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 all tasks as completed - -`-D` : Move completed tasks to done.txt +Mark as done: + `x` Mark current task as done + `X` Mark all tasks as done + `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