Improved README

This commit is contained in:
Leandro Freitas
2015-05-06 16:50:08 -03:00
parent 25a63d5ecd
commit 6c5a37e6c6

View File

@@ -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:
`<localleader>-s` : Sort the file
Sorting tasks:
`<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>-s+` : Sort the file on +Projects
Edit priority:
`<localleader>j` Decrease 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>-s@` : Sort the file on @Contexts
Date:
`<localleader>d` Set current task's creation date to the current date
`date<tab>` (Insert mode) Insert the current date
`<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
Mark as done:
`<localleader>x` Mark current task as done
`<localleader>X` Mark all tasks as done
`<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