aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin
AgeCommit message (Collapse)Author
2020-03-21Add conditions for `[u` `]u` default omapsTeddy Wing
I put these in the normal mode conditions for ease of testing and implementation. Now check the mappings properly.
2020-03-21Remove `<Plug>TwodoNextIncomplete` `<Plug>TwodoPreviousIncomplete` xmapsTeddy Wing
I don't really use visual mode, and don't feel like trying to make these work.
2020-03-21Try adding xmaps and omaps for next and previous commandsTeddy Wing
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.
2020-03-15Add mappings to move to the next and previous to-doTeddy Wing
`[u` and `]u` for "unfinished".
2016-06-03Add Escalate mappingTeddy Wing
Define the `todo#Escalate()` function which does the opposite of `todo#Descalate()` and add a mapping to invoke the function.
2016-06-03ftplugin/todo.vim: Add Descalate mappingsTeddy Wing
2016-04-28Allow any action on any TODO typeTeddy Wing
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.
2016-04-19ftdetect/todo.vim: Don't remove partially completed todos with <leader>RTeddy Wing
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.
2016-04-05ftplugin: Use :nohlsearch in mappingsTeddy Wing
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.
2016-04-05Add ftplugin with mappingsTeddy Wing
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.