aboutsummaryrefslogtreecommitdiffstats
path: root/autoload
AgeCommit message (Collapse)Author
2021-10-15Add new motions to move between regular and important TODOsTeddy Wing
The existing `[u` and `]u` bindings allow moving to the previous and next unfinished to-do, but when there are many low priority to-dos, and a handful of regular and high priority items between them, those commands are ineffective for quickly moving to the relevant ones. Add two new sets of commands: * `[o` & `]o` to move between regular priority to-dos * `[y` & `]y` to move between high priority to-dos I was looking for bracket mappings that aren't bound by default. Using `o` seems to work, meaning "ordinary". And `y` could refer to "yimportant". Close enough.
2020-03-22Add license headersTeddy Wing
Add a license header to each source file, along with the appropriate copyright years.
2020-03-22Add repeat supportTeddy Wing
Commands should be able to be repeated. Makes it easier to mark several to-dos complete in a row, for example.
2020-03-21Don't save search history when running substitution commandsTeddy Wing
Our substitution commands would save the search pattern into search history, intervening with user search history. Use the `keeppatterns` command to prevent this.
2020-03-21motion.vim/s:Incomplete(): Use `s` search flag to markTeddy Wing
Learned that `search()` accepts an `s` flag to mark the previous cursor location, so figured we should take advantage of that and remove the manual mark line.
2020-03-21Support counts in both `NextIncomplete()` and `PreviousIncomplete()`Teddy Wing
2020-03-21todo#motion#NextIncomplete(): Add count supportTeddy Wing
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-03autoload/todo.vim: Descalate functionTeddy Wing
A function that descalates the priority of the TODO on the current line.