Add new features from freitass master such as increase/decreas priority, another multilvel sort from @matjon and the done.txt file. Conflicts: README.markdown doc/todo.txt
59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
*todo.txt*
|
|
|
|
==============================================================================
|
|
COMMANDS *todo-commands*
|
|
|
|
`<LocalLeader>-s` : Sort the file by priority
|
|
|
|
`<LocalLeader>-s+` : Sort the file on +Projects
|
|
|
|
`<LocalLeader>-s@` : Sort the file on @Contexts
|
|
|
|
`<LocalLeader>-sc` : Sort the file by context then by priority
|
|
|
|
`<LocalLeader>-scp` : Sort the file by context, project then by priority
|
|
|
|
`<LocalLeader>-sp` : Sort the file by project then by priority
|
|
|
|
`<LocalLeader>-spc` : Sort the file by project, context then by priority
|
|
|
|
`<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` : Toggle mark task as done (inserts or remove current date as
|
|
completion date)
|
|
|
|
`<LocalLeader>-X` : Mark all tasks as completed
|
|
|
|
`<LocalLeader>-D` : Move completed tasks to done.txt
|
|
|
|
<LocalLeader> is \ by default, so <leader>-s means you type \s
|
|
|
|
===============================================================================
|
|
CONFIGURATION *todo-configuration*
|
|
|
|
The user can give argument for the two calls to vim sort function by changing
|
|
the following variables:
|
|
|
|
g:Todo_txt_first_level_sort_mode
|
|
g:Todo_txt_second_level_sort_mode
|
|
|
|
Defaults values are:
|
|
|
|
g:Todo_txt_first_level_sort_mode="i"
|
|
g:Todo_txt_second_level_sort_mode="i"
|
|
|
|
|
|
For more information on the available flags see help :sort
|