https://github.com/tomtom/vikitasks_vim
Search viki files for tasks and display them in a list
https://github.com/tomtom/vikitasks_vim
Last synced: 3 months ago
JSON representation
Search viki files for tasks and display them in a list
- Host: GitHub
- URL: https://github.com/tomtom/vikitasks_vim
- Owner: tomtom
- License: gpl-3.0
- Created: 2010-08-20T16:30:56.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2018-12-31T09:52:24.000Z (over 7 years ago)
- Last Synced: 2025-02-22T05:27:50.855Z (over 1 year ago)
- Language: Vim script
- Homepage: http://www.vim.org/scripts/script.php?script_id=2894
- Size: 450 KB
- Stars: 15
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README
- Changelog: CHANGES.TXT
- License: LICENSE.TXT
Awesome Lists containing this project
README
NOTE: This plugin is not actively maintained any more. I now think it was a
mistake to mix text & todo/priority lists this way. My preferred solution for
such lists now is https://github.com/tomtom/ttodo_vim/ and other
todo.txt-related apps.
This plugin provides a quick overview of priority/task lists maintained
in different viki files. Depending on your settings, you can quickly
search all "homepages" of intervikis or search only project-specific
files.
Usage:
:VikiTasks[!] [CONSTRAINT] [PATTERN] [FILE_PATTERNS]
Features:
- Collect tasks from viki's priority lists (see |viki-tasks|)
- Sort those tasks
- Browse tasks with a given date
- Optionally browse all tasks (incl. those without a date)
Demo:
http://vimsomnia.blogspot.com/2010/11/vikitasks-viki-demonstration-personal.html
-----------------------------------------------------------------------
Tutorial: How does it work?~
Let's say you have the files:
foo.txt: >
* Foo
#A 2009-12-13 Do this
#C 2009-12-20 Call @Anna
#A Whatever
bar.txt: >
* Bar
#C 2009-12-24 Wish @Bernie good luck
#D 2009-11-01 Do that
Let's assume you have added both files to |g:vikitasks#files|. Switch to
the buffer foo.txt and call >
:VikiTasks
and you get the following list: >
Bar.txt|2| #D 2009-11-01 Do that
Foo.txt|2| #A 2009-12-13 Do this
Foo.txt|3| #C 2009-12-20 Call @Anna
Bar.txt|3| #C 2009-12-24 Wish @Bernie good luck
If you do/had done this on the 15 December 2009, the third line would be
highlighted, i.e. the entries above the cursor refer to passed/missed
events. If you had called :VikiTasks! (behold the bang), then the
"Whatever" entry would have been included in the list too.
If you had called >
:VikiTasks current
only the first two items would be listed.
This week's tasks (i.e. the tasks that should be accomplished today or
within the following six days) can be listed with >
:VikiTasks 6
-----------------------------------------------------------------------
Install~
Edit the vba file and type: >
:so %
See :help vimball for details. If you have difficulties or use vim 7.0,
please make sure that you have the current version of vimball
(vimscript #1502) installed, or update your runtime.
This script requires tlib (vimscript #1863), trag (vimscript #2033), and
viki (vimscript #861) to be installed.
Also available via git: http://github.com/tomtom/vikitasks_vim/
Dependencies:
tlib (>= 1.16) :: http://github.com/tomtom/tlib_vim
trag (>= 1.02) :: http://github.com/tomtom/trag_vim
License: GPLv3 or later