Commit Graph

277 Commits

Author SHA1 Message Date
Risto Saarelma
20e137bfcf Document g:TodoTxtStripDoneItemPriority 2019-02-13 10:35:32 +01:00
David Beniamine
f1788f53f9 Fix #36 2019-02-12 13:04:48 +01:00
David Beniamine
d51562a4c1 Fix #33 2019-02-11 11:33:30 +01:00
David Beniamine
c8fbe04351 Release several bug fix v0.8.2 2019-02-10 18:32:41 +01:00
David Beniamine
9d1443b663 Silence all sorts 2019-02-10 18:29:59 +01:00
Risto Saarelma
00ecbeb8b7 Add setting for dropping priority metadata
The default behavior of todo.txt is to add priority metadata to done
items with priority tags so that the priority can be restored when the
item is marked as undone. If you want to have cleaner done items and
just remove the priority information when the item is set as done, set

    let g:TodoTxtStripDoneItemPriority=1
2019-02-10 18:16:27 +01:00
David Beniamine
739d58ec8c Revert "Change top repo command to fix CI"
This reverts commit cfc6000948.
2019-01-23 12:19:21 +01:00
David Beniamine
74ea6248dd Fix sheebang 2019-01-23 12:16:36 +01:00
David Beniamine
cfc6000948 Change top repo command to fix CI 2019-01-23 12:12:18 +01:00
David Beniamine
8554880297 Fix gitlab ci 2019-01-23 12:07:28 +01:00
David Beniamine
224986ab96 Add gitlab ci 2019-01-23 12:06:53 +01:00
David Beniamine
a2090399fb Keep cursor pos on sorting see #33 2019-01-23 11:00:28 +01:00
David Beniamine
93480dd2c7 Save "/ buffer, fix #35 2018-12-23 16:49:16 +01:00
David Beniamine
259125d9ef Move tasks without priority before done on sort
Closes #32
2018-05-25 18:08:55 +02:00
David Beniamine
2483961aaf Merge branch 'master' of https://github.com/fretep/todo.txt-vim 2018-04-19 23:45:48 +02:00
David Beniamine
7b0262ae84 Do not override fold_char and use fold_char x for tests 2018-04-19 23:45:09 +02:00
fretep
f23b1c2cac Update mappings to be more consistent
in use of map arguments, and also move the <Plug> mappings outside of
the Todo_txt_do_not_map block
2018-04-19 21:37:53 +10:00
fretep
aa5a702057 Use setlocal for nrformats 2018-04-19 21:16:07 +10:00
David Beniamine
7d70e30aae Add Possibility to fold on context or project
Closes #30

Folds now works the following way:

+ At initialisation, if all completed tasks are at the end, folds are
based on completed tasks only, else they are based on context
+ After a hierarchichal sort, folds are set by the first level between project and context
+ After a "normal" sort, folds are set only on completed tasks (as
before)

This work is greatly inspired from the snipped provided by @arecarn
2018-04-18 17:55:15 +02:00
fretep
d6256bcfe3 Add support for recurring tasks ("rec:" keyword) 2017-10-20 22:48:50 +11:00
fretep
f982b9c581 Merge branch 'master' of https://github.com/dbeniamine/todo.txt-vim 2017-10-14 18:43:19 +11:00
fretep
5f2497d3fa Adding postpone due date mapping and functions 2017-10-14 18:27:21 +11:00
David Beniamine
ea7eb42d62 Merge branch 'master' of https://github.com/fretep/todo.txt-vim 2017-10-05 11:43:47 +02:00
fretep
678c3b8680 Bug fix in todo#todo#GetDateRegexForPastDates
For dates in October.
2017-10-01 12:07:07 +11:00
David Beniamine
0744fdf45b Merge branch 'master' of https://github.com/fretep/todo.txt-vim 2017-09-27 19:05:18 +02:00
fretep
7160425fa8 Prefix creation date when opening a new line 2017-09-27 22:56:17 +10:00
David Beniamine
8cb1a76eed Removed useless files from original version 2017-09-26 14:59:12 +02:00
David Beniamine
87f94ef7bd Removed redundant test 2017-09-26 14:58:15 +02:00
David Beniamine
25fa5dcf15 Fix priority on canceleld tasks + tests 2017-09-26 14:57:48 +02:00
fretep
f35bcabcea Correct a bug in todo#Complete
where the entire lines were being shown as related
2017-09-24 23:02:26 +10:00
fretep
21908548d4 Fix exception in todo#MarkAsDone and todo#UnMarkAsDone 2017-09-22 23:33:18 +10:00
fretep
6777558646 Fix case sensitivity folding complete tasks 2017-09-20 15:19:45 +02:00
David Beniamine
ebdde99ac4 Fix #21
Better handling of priority on done tasks
Also added <localleader>ff to fix format. this will remove leading
whitespaces and convert old (wrong) done tasks to the correct format
2017-09-20 13:28:07 +02:00
David Beniamine
c6e472c048 Fix #23 2017-09-20 12:43:22 +02:00
fretep
c8092640df Fix for <Leader>x and other minor issues
Fixed a bug in <Leader>x (todo#PrependDate) introduced last commit.
Fixed case sensitivity bug in todo#ToggleMarkAsDone() and todo#UnMarkAsDone()
Fixed errors being reported for repeat#set if vim-repeat plugin is not installed.
Fixed modeline in .vim files to work (only works on first/last 5 lines of file), and made the modelines consistent across all files.
New unit tests for todo#ToggleMarkAsDone()
Minor fixes for README.md and man page
Fix anchoring of RegExp in todo#ToggleMarkAsDone
Fixed a bug in overdue highlighting that resulted in the current date being matched on round dates like the 20th and 30th.
Added more unit tests for overdue date highlighting.
Corrected RegExp anchoring on today date highlighting.
Added a few bash scripts to make running unit tests easier and more reliable, including testing with ignorecase user preference set.
2017-09-20 01:32:59 +10:00
David Beniamine
c2ad4bc58b make sort case insensitive 2017-09-15 13:02:57 +02:00
David Beniamine
68e407af22 Merge branch 'vadertests' of https://github.com/fretep/todo.txt-vim 2017-09-15 12:27:09 +02:00
David Beniamine
22fb99260e fix bad indent 2017-09-15 12:27:01 +02:00
fretep
f39504bea8 Added myself to author line 2017-09-15 18:44:08 +10:00
fretep
08d3ed88d9 Major refactor to be cleaner and test more cases 2017-09-15 18:36:50 +10:00
Peter
4119ff026f Merge branch 'master' into SortDueFixes 2017-09-14 01:18:42 +10:00
fretep
ff533b85f5 Bug fixes for case sensitivity and cursor positioning 2017-09-14 01:06:59 +10:00
David Beniamine
774d4da4e9 Conforming to todo rules
Priorities must be uppercase
Completed task marker is lowercase
2017-09-12 16:38:41 +02:00
fretep
0ed7d4848e Fix sorting bugs with 'due:' at the start of the line, and properly handle completed tasks with lastdue and notoverdue post sort cursor preferences 2017-09-12 23:50:56 +10:00
David Beniamine
7bebc01020 Fix issue #17 2017-09-12 15:44:25 +02:00
fretep
f5050663c6 Added tests and notes for issue #17 and #18 2017-09-12 21:49:38 +10:00
fretep
b8fa774606 Merge branch 'master' into vadertests 2017-09-12 20:32:41 +10:00
David Beniamine
35810c388d Micro release v0.8.1 2017-09-11 13:34:49 +02:00
fretep
311761e327 Added TodoDueToday syntax highlight 2017-09-11 13:32:07 +02:00
David Beniamine
71505569c0 Vestion 0.8
Fix and close #14 and #15
Merge PR#13 and PR#16
v0.8
2017-09-10 12:13:26 +02:00