*todo.txt* ============================================================================== COMMANDS *todo-commands* `-s` : Sort the file 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 `-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` : Remove completed tasks is \ by default, so -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