aboutsummaryrefslogtreecommitdiffstats
path: root/autoload/todo/motion.vim
AgeCommit message (Collapse)Author
2021-10-16Update copyright yearsTeddy Wing
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-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".