Age | Commit message (Collapse) | Author |
|
I put these in the normal mode conditions for ease of testing and
implementation. Now check the mappings properly.
|
|
I don't really use visual mode, and don't feel like trying to make these
work.
|
|
The xmaps don't really work. Going to the next/previous TODO works, but
extending the selection doesn't because of the way I set it up with the
mark system. We'd probably need a more involved function here to do what
we want.
Currently doesn't support counts. I'll have to add that in.
|
|
`[u` and `]u` for "unfinished".
|
|
Define the `todo#Escalate()` function which does the opposite of
`todo#Descalate()` and add a mapping to invoke the function.
|
|
|
|
Previously you could only mark `-`-type TODOs as [Complete, Partially
Complete, Deleted]. Now you can mark any type of TODO (`-`, `_`, `!`,
`x`, `S`, `v`) as any of the above three states.
|
|
When invoking the <leader>R command to remove old todos, only remove
completed and deleted ones. Partially completed tasks should stick
around and be reverted to uncomplete.
|
|
Don't highlight matches from our `:substitute` calls. It looks weird
when search matches are highlighted but the user didn't explicitly
initiate a search.
|
|
Create some useful mappings for creating and marking TODO items. These
will be buffer-local to *.todo files, which is why we're defining them
in the ftplugin file.
|