aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-10-16Increase version v0.1.1 -> v0.2.0HEADv0.2.0masterTeddy Wing
2021-10-16doc/todo.txt: Replace backtick separators with quotesTeddy Wing
Backticks are used to refer to Vim commands in help files. The Vim docs explain: > When referring to a Vim command and to create a hot-link, place the > name between two backticks, eg. inside `:filetype`. You will see this > is highlighted as a command, like a code block (see below). These aren't Vim commands, so use a different surrounding mark. Settled on double quotes. This also fixes a display problem with the "`- `" text, which was rendered as "`- " (without the final backtick) in the highlighted help due to the parsing for syntax highlight concealing.
2021-10-16Update copyright yearsTeddy Wing
2021-10-15Add documentation for new `[o` `]o` `[y` `]y` commandsTeddy 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.
2021-10-15Change `<Leader>` to `<LocalLeader>`Teddy Wing
Allow the leader to be different for the todo filetype.
2020-03-22Increase version v0.1.0 -> v0.1.1v0.1.1Teddy Wing
2020-03-22ftplugin/todo.vim: Fix default mapping guardsTeddy Wing
These conditions were wrong, and should have been AND-ed. Otherwise, if you, say, didn't have a mapping to `<Plug>TwodoNewTodoBelow` and did have a mapping to `<Leader>n` (or vice versa), the plugin would still remap `<Leader>n`.
2020-03-22Increase version v0.0.1 -> v0.1.0v0.1.0Teddy Wing
2020-03-22Update TODOTeddy Wing
2020-03-22Add CHANGELOGTeddy Wing
2020-03-22Add license headersTeddy Wing
Add a license header to each source file, along with the appropriate copyright years.
2020-03-22Merge branch 'commands-should-be-repeatable'Teddy Wing
2020-03-22Update TODOTeddy Wing
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-21Merge branch 'add-no_plugin_maps-support'Teddy Wing
2020-03-21Update TODOTeddy Wing
2020-03-21Disable ftplugin mappings with `g:no_plugin_maps`Teddy Wing
2020-03-21Merge branch 'don,t-save-substitutions-in-search-history'Teddy Wing
2020-03-21Update TODOTeddy Wing
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-21Add documentation for next/previous incomplete mappingsTeddy Wing
2020-03-21Update TODOTeddy Wing
2020-03-21Merge branch 'next-previous-incomplete-mappings'Teddy Wing
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-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-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-10-17Add Vim helpv0.0.1Teddy Wing
Add a help file with a description, example, mappings list, and list of colours to customise.
2016-10-17Add README and licenseTeddy Wing
Include a description and screenshot as part of the README. The `example.todo` file was used as a base for the screenshot. Add a license file for the GNU GPLv3.
2016-06-03TODO: Mark escalate/descalate task completedTeddy Wing
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-06-03Add Resources.txtTeddy Wing
Some URLs to look into to override cursorline syntax highlighting.
2016-06-03autoload/todo.vim: Descalate functionTeddy Wing
A function that descalates the priority of the TODO on the current line.
2016-06-03TODO: Add entry for using counts in mappingsTeddy Wing
2016-06-03TODO: Add entry for priority escalation/descalation mappingsTeddy Wing
2016-06-03TODO: Possible highlight colour for unimportantTeddy Wing
To build on 625c653d281716a19b5f16e4146a33d7962e22ac.
2016-06-03TODO: Add entry to differentiate unimportant and completed/deletedTeddy Wing
2016-04-28TODO: Mark multiple task type for action task completedTeddy Wing
Fixed by 429a26e68f863afb306d6b7ea24892b6f580b384.
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-28Add TODOTeddy Wing
Include some annoyances.
2016-04-26Highlight deleted TODOsTeddy Wing
Show them in Ignore so that they're not as prominent.
2016-04-21Highlight completed tasks as `Ignore`Teddy Wing
Use the `Ignore` highlight group to colour completed tasks. This makes them less visible and get out of the way.
2016-04-20Add a highlight category for unimportant tasksTeddy Wing
Have low priority tasks start with `_` instead of `-`. Highlight these separately with the `Ignore` group to visually de-emphasize them.
2016-04-20Highlight important tasksTeddy Wing
Important tasks start with a `!` instead of a `-`. Highlight them separately from normal tasks so that they can be visually distinguished. Here we use the Error highlight group for them because it's red (at least in my colour scheme).
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.