88 Commits

Author SHA1 Message Date
Eric Taylor
61960a9ae3 added N and W prority 2021-06-14 07:29:09 -07:00
Ricky Anderson
36fd3b427d Add g:TodoTxtUseAbbrevInsertMode to control usage of abbreviations or
mapping in insert mode
2020-01-07 00:39:34 +07:00
Ricky Anderson
2bedaf4672 Use abbreviations instead of maps in insert mode 2019-12-10 10:34:29 +07:00
David Beniamine
f1788f53f9 Fix #36 2019-02-12 13:04:48 +01:00
David Beniamine
c8fbe04351 Release several bug fix 2019-02-10 18:32:41 +01:00
David Beniamine
a2090399fb Keep cursor pos on sorting see #33 2019-01-23 11:00:28 +01: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
5f2497d3fa Adding postpone due date mapping and functions 2017-10-14 18:27:21 +11:00
fretep
7160425fa8 Prefix creation date when opening a new line 2017-09-27 22:56:17 +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
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
35810c388d Micro release 2017-09-11 13:34:49 +02:00
David Beniamine
71505569c0 Vestion 0.8
Fix and close #14 and #15
Merge PR#13 and PR#16
2017-09-10 12:13:26 +02:00
David Beniamine
7b9c9815a4 Integrating sietse's work, version 0.7.6 2017-08-15 12:22:21 +02:00
Sietse Brouwer
57d45200c8 Enable vim-repeat for Done and Cancel 2017-08-08 11:09:22 +02:00
David Beniamine
c2eb67f1a6 Version 0.7.5
No major changes, yet the merge with Fievel's work impacts considerably
the git tree thus a minor version update.
2016-09-05 15:46:52 +02:00
David Beniamine
f3c5e7b892 Included Guilherme Victal works on overduedate
See https://github.com/freitass/todo.txt-vim/pull/45
2016-05-14 12:03:55 +02:00
David Beniamine
41a75a8f50 FIX issue #2
FIX: hasmapto was use wrongly, there is now a setting to forbid todo-txt.vim to set
mappings.
FIX: There was a bug and MarkAllAsDone
2015-10-25 01:57:29 -02:00
David Beniamine
7fdf0427a8 use <localleader>C for cancel as c is used for priority 2015-09-22 15:46:09 +02:00
David Beniamine
644b6d6628 Cancel tasks with <localleader>c 2015-09-16 17:02:42 +02:00
David Beniamine
f9715af4a4 move hierarchical sort to auto start
Note: because of this, TodoComplete is now known as todo#Complete, you might
need to update your vimrc.
2015-08-22 18:39:59 +02:00
David Beniamine
ab4ecf5220 FIX: sort done.txt 2015-07-08 11:04:55 +02:00
David Beniamine
dc4bb8e856 Fix: vimscript is not bash 2015-07-08 11:00:54 +02:00
David Beniamine
6a103f1429 v0.7.2 2015-07-08 09:53:02 +02:00
David Beniamine
9f87eec204 More flexible file naming (Request #2)
CHG: More flexible file naming files matching one of the following are todo
files:
    YYYY-MM-[Tt]odo.txt
    YYYY-MM-DD[Tt]odo.txt
    [Tt]odo-YYYY-MM.txt
    [Tt]odo-YYYY-MM-DD.txt
    [Tt]odo.txt
    [Tt]oday.txt
    YYYY-MM-[Dd]one.txt
    YYYY-MM-DD[Dd]one.txt
    [Dd]one-YYYY-MM.txt
    [Dd]one-YYYY-MM-DD.txt
    [Dd]one.txt
    [Dd]one-[Tt]oday.txt
 Moreover, remove complete tasks (<LocalLeader>D) moves the task to the
 done.txt file corresponding to the current todo.txt, aka if you are editing
 2015-07-07-todo.txt, the done file while be 2015-07-07-done.txt.
 This behaviour can be cancelled by fixing the done filename using
 g:TodoTxtForceDoneName
FIX: Bug while completing empty file
2015-07-08 09:48:12 +02:00
David Beniamine
53ad73ebda FIX hierarchical sort stability bug 2015-07-06 14:55:02 +02:00
David Beniamine
4da3c4ae12 Small bug fixes
FIX: Typo in sort function
FIX: Keyword completion
CHG: Sort done.txt by completion date
2015-07-05 16:41:58 +02:00
David Beniamine
73ba0effca Small improvements on due dates + key:value
ADD: syntax highlight for couples key:value
ADD: Handle DUE:date
CHG: No space between due: and date
CHG: Doc updated
2015-07-05 15:00:07 +02:00
David Beniamine
cf10a3b0b8 better due date sorting and due compeltion 2015-07-05 13:17:50 +02:00
David Beniamine
e49cc7d595 Incorporated due date workaround from durcheinandr 2015-07-05 12:29:02 +02:00
David Beniamine
3c39283066 More doc plus version number updated 2015-06-10 02:12:06 +02:00
David Beniamine
685001499c Better handling of multi buffer completion
ADD: The preview window now shows in which buffers the completion appears
CHG: Refactoring of completion search, more efficient and with a way simpler code
2015-06-10 02:05:45 +02:00
David Beniamine
a17560cc01 Better handling of multi buffer completion
CHG: Recognise done.txt format for project and context completion
ADD: Show buffer name in which the project/context exists
2015-06-09 23:57:26 +02:00
David Beniamine
7e06e5aafd Complete using all buffers 2015-06-09 20:50:15 +02:00
David Beniamine
c56632eeaa Complete on buffer instead of reading file 2015-06-09 19:23:04 +02:00
durcheinandr
eb5ece482d shorten short due date function 2015-05-27 16:24:48 +02:00
durcheinandr
eb6d973887 last fix for sorting due dates 2015-05-27 05:56:52 +02:00
durcheinandr
84c815bb21 fixed sorting by due-date 2015-05-26 19:50:37 +02:00
durcheinandr
1b49ec094c here we go 2015-05-25 23:57:26 +02:00
David Beniamine
c540f981a6 updated version and authors 2015-03-14 14:41:33 -03:00
David Beniamine
dc88bb1044 Add priority in insert mode 2015-03-13 12:15:41 -03:00
David Beniamine
3bff204d7a Prioritize: preserve cursor position 2015-03-13 10:16:22 -03:00
David Beniamine
2efc471969 Add: prioritize update the priority
When there is already a priority in the line, we update it instead of adding
a new one
2015-03-13 10:03:32 -03:00
David Beniamine
d3d06926a6 Add: Completion for todo.txt
Intelligent complete for context and projects, try it ;)
2015-03-12 21:07:46 -03:00