diff --git a/README.markdown b/README.markdown index a7c96b2..f5e0bea 100644 --- a/README.markdown +++ b/README.markdown @@ -7,33 +7,33 @@ 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 +`-s` : Sort the file -`-s+` : Sort the file on +Projects +`-s+` : Sort the file on +Projects -`-s@` : Sort the file on @Contexts +`-s@` : Sort the file on @Contexts -`-sd` : Sort the file on dates +`-sd` : Sort the file on dates -`-j` : Lower the priority of the current line +`-j` : Lower the priority of the current line -`-k` : Increase the priority of the current line +`-k` : Increase the priority of the current line -`-a` : Add the priority (A) to the current line +`-a` : Add the priority (A) to the current line -`-b` : Add the priority (B) to the current line +`-b` : Add the priority (B) to the current line -`-c` : Add the priority (C) to the current line +`-c` : Add the priority (C) to the current line -`-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` : Move completed tasks to done.txt +`-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 diff --git a/doc/todo.txt b/doc/todo.txt index 1869236..078c0f7 100644 --- a/doc/todo.txt +++ b/doc/todo.txt @@ -3,32 +3,32 @@ ============================================================================== COMMANDS *todo-commands* -`-s` : Sort the file +`-s` : Sort the file -`-s+` : Sort the file on +Projects +`-s+` : Sort the file on +Projects -`-s@` : Sort the file on @Contexts +`-s@` : Sort the file on @Contexts -`-sd` : Sort the file on dates +`-sd` : Sort the file on dates -`-j` : Lower the priority of the current line +`-j` : Lower the priority of the current line -`-k` : Increase the priority of the current line +`-k` : Increase the priority of the current line -`-a` : Add the priority (A) to the current line +`-a` : Add the priority (A) to the current line -`-b` : Add the priority (B) to the current line +`-b` : Add the priority (B) to the current line -`-c` : Add the priority (C) to the current line +`-c` : Add the priority (C) to the current line -`-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` : Move completed tasks to done.txt +`-D` : Move completed tasks to done.txt - is \ by default, so -s means you type \s +See :h for more information about the commands' prefix. diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index 09eba55..b832a1e 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -18,77 +18,77 @@ setlocal wrapmargin=0 " Mappings {{{1 " Sort tasks {{{2 -if !hasmapto("s",'n') - nnoremap