Commit Graph

96 Commits

Author SHA1 Message Date
David Beniamine
8c378b5646 Fix: bad function declaration 2015-03-12 21:02:50 -03:00
David Beniamine
dfd8add10d Use Localleader instead of leader for sorting
This commit fix a small error I made during the merge of matjon works.
2015-02-02 00:02:52 +01:00
David Beniamine
a9aec4efc7 Merge branch 'master' of https://github.com/matjon/todo.txt-vim
Conflicts:
	ftplugin/todo.vim
2015-02-01 23:59:09 +01:00
David Beniamine
d3ee1cd233 Fix markdown error 2015-02-01 21:12:40 +01:00
David Beniamine
ee526b315c Clarifications on README 2015-02-01 21:11:05 +01:00
David Beniamine
8aafdc825e Merge branch 'master' of https://github.com/freitass/todo.txt-vim
Add new features from freitass master such as increase/decreas priority,
another multilvel sort from @matjon and the done.txt file.

Conflicts:
	README.markdown
	doc/todo.txt
2015-02-01 20:54:07 +01:00
Mateusz Jończyk
507439112e When sorting on priority, sort also on projects and contexts
After pressing <leader>s, todo.vim used to sort all lines
alphabetically. This caused tasks related to different projects to be
placed apart from each other - the whole list was then difficult to
follow.

This patch fixes this by taking into account the fact that :sort in vim
is usually stable (see http://en.wikipedia.org/wiki/Sorting_algorithm#Stability),
so that when we sort first on contexts, then on projects and then on
priority, everything is placed in the order we want.
2015-02-01 15:46:17 +01:00
David Beniamine
8a590c4203 Removed debug print 2014-11-17 18:20:46 +01:00
David Beniamine
1861e4bf83 Toggle mark documentation 2014-11-17 18:14:58 +01:00
David Beniamine
cde0bc49fa UnMark as done fix 2014-11-17 18:14:02 +01:00
Leandro Freitas
f07b2b2202 Setting filetype 'todo' for done.txt files 2014-11-17 10:06:24 -02:00
Leandro Freitas
09292ae7c1 Resolves #25 2014-11-17 10:00:15 -02:00
David Beniamine
aa909af84e Toggle done 2014-11-17 10:38:38 +01:00
Leandro Freitas
4723d48cae Merge pull request #24 from invecup/priorities
Fix documentation and README typos
2014-11-01 21:41:39 -02:00
Leandro Freitas
635de6dca0 Resolves #17 2014-11-01 21:39:09 -02:00
Stephan Rodemeier
ddd8c61a54 Fix documentation and README typos
The commands for adding priorities B and C got switched up in the
documentation and README.
2014-11-01 23:09:01 +01:00
Leandro Freitas
5ad30f3ee8 Merge branch 'ha17-dev-add-priority' 2014-11-01 19:45:02 -02:00
Leandro Freitas
2a66ed26ff Updated documentation and minor fixes. 2014-11-01 19:44:07 -02:00
Leandro Freitas
e7423b103b Merge branch 'dev-add-priority' of https://github.com/ha17/todo.txt-vim into ha17-dev-add-priority 2014-11-01 19:24:44 -02:00
Leandro Freitas
c08d283ebb Merge pull request #23 from srodeme/documentation
Add new functions to documentation
2014-11-01 19:18:43 -02:00
Leandro Freitas
d210414621 Merge pull request #22 from alhirzel/master
typos
2014-11-01 19:17:59 -02:00
Stephan Rodemeier
4fb5384014 Add new functions to documentation
The sorting functions for projects and contexts as well as the functions
for lowering and increasing priority are missing from the documentation.
2014-11-01 20:27:47 +01:00
Alexander Hirzel
689a9ff5a4 minor 2014-10-31 22:26:55 -04:00
Alexander Hirzel
2ebbf31f8c typos 2014-10-31 21:51:26 -04:00
Hans Anderson
1c69f2170a Merge branch 'dev-add-priority' of https://github.com/ha17/todo.txt-vim into dev-add-priority 2014-10-31 18:32:13 -05:00
Hans Anderson
8d8913a600 Easy to add a priority to the current line
- several new leader keys to add priority to the current line
- updated README
2014-10-31 18:31:39 -05:00
Hans Anderson
3a87fd222e Easy to add a priority to the current line
- several new leader keys to add priority to the current line
- updated README
2014-10-31 18:23:27 -05:00
Leandro Freitas
a823aa16d3 Merge pull request #19 from ha17/dev-sorting-priority-changing
Dev sorting priority changing
2014-10-30 15:42:25 -02:00
Hans Anderson
a21c450b96 Removed some commented-out test code 2014-10-28 09:04:39 -05:00
Hans Anderson
04d603e987 Added two new sorting functions and a way to increase/decrease priorities easily
See README for more details:

<leader>s@ - sort by @contexts
<leader>s+ - sort by +projects
<leader>j  - decrease priority
<leader>k  - increase priority
2014-10-28 09:00:45 -05:00
David Beniamine
724d5b8d70 Doc updated 2014-10-10 18:12:14 +02:00
David Beniamine
46d7abb625 Readme updated 2014-10-10 18:09:32 +02:00
David Beniamine
2c4a2e5c34 CHG: Moved sort function to ftplugin 2014-10-10 17:59:36 +02:00
David Beniamine
af35c769ed ADD: guards on mapping to avoid remappings 2014-10-10 17:42:32 +02:00
David Beniamine
c0a6726696 CHG: Hierachical sort can now have1 to 3 levels
This allow for example to sort the wall list by context, then each context by
project and each project by priority.
The sort is very flexible, the only constraint is that the sort by priority
(if we decide to do it) is the last sort.
2014-10-10 17:38:37 +02:00
David Beniamine
2f64c2ff21 Use localleader instead of leader 2014-10-10 11:35:14 +02:00
David Beniamine
5425c33992 Merge branch 'master' of github.com:dbeniamine/todo.txt-vim
This merge is a commit refactor due to an error in the first commit messages
2014-10-09 16:26:54 +02:00
David Beniamine
62c8949881 ADD: Two level sort function
This commit add the first interesting difference from freitass original
version. It provides a two level sort function which allow the user to sort
the todo by project (or context) then by priority.

TODO: Maybe think about three level sort (project, context, priority) in any
order.
2014-10-09 16:16:46 +02:00
David Beniamine
5cc3889b95 small change on syntax colors nothing interesting 2014-10-09 16:15:27 +02:00
David Beniamine
c26351fdb6 ADD: Two level sort function
This commit add the first interesting difference from freitass original
version. It provides a two level sort function which allow the user to sort
the todo by project (or context) then by priority.

TODO: Maybe think about three level sort (project, context, priority) in any
order.
2014-10-09 16:12:27 +02:00
Leandro Freitas
45aa73bf5e Fixes #14. Also changes some shortcuts 2014-04-27 21:26:58 -03:00
Leandro Freitas
d1aaeff366 Added shortcut to mark all tasks as done 2014-04-27 10:54:27 -03:00
Leandro Freitas
a3307cb57e Merge pull request #15 from neoascetic/patch-1
Fixed GitHub issue #13
2014-04-27 10:15:35 -03:00
Pavel Puchkin
47a644b3f2 There IS reference to the plugin on todotxt.com 2014-04-27 17:05:53 +11:00
Pavel Puchkin
04a94957b9 Fixes #13, also a little bit of refactoring 2014-04-27 17:04:57 +11:00
Leandro Freitas
47b48279c9 Merge pull request #12 from deanhouseholder/master
Added a space before rules to match projects and contexts in order to av...
2014-03-19 00:00:53 -03:00
Leandro Freitas
bfbf2446d0 Added support to mark multiple tasks as done. 2014-03-05 21:51:28 -03:00
Dean Householder
6ce6821890 Added a space before rules to match projects and contexts in order to avoid false-positive matches such as email addresses and keystroke combinations (such as CTRL+f) in your todo tasks. 2014-03-03 09:58:14 -07:00
Leandro Freitas
5a2eb56f8e Merge pull request #11 from neoascetic/fixes/9
Fixed #9. Insert dates at the beginning of the line
2014-01-04 04:52:25 -08:00
Pavel Puchkin
072891f722 Fixed #9. Insert dates at the beginning of the line 2013-12-22 11:19:08 +11:00