Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InsertTasks in link form #21

Open
linuxcaffe opened this issue Nov 25, 2013 · 0 comments
Open

InsertTasks in link form #21

linuxcaffe opened this issue Nov 25, 2013 · 0 comments

Comments

@linuxcaffe
Copy link

The InsertTasks command has the potential to make a superb task "dashboard", embedding queries into a wiki page with your regular activities, deadlines and current projects, etc.
While arranging a page to do this, I find myself creating descriptive headings above the "%%TaskList: " line, and while that works ok, it has a redundancy and a "double list header" that could be improved.

So the idea here is to embed the %%TaskList: in the form of a vimwiki link. something like this;

[[%%TaskList: +DUE +work desc.startswith:call|Work Calls]]

All of which would be concealed but the "Work Calls" part, unless the cursor were over it.
This could stand alone or be used in a heading, or as a list item, and the output should respect indentation.

A vimwiki link typically goes somewhere, but hitting enter on this one should invoke UpdateTasks, maybe even reload the page, in case external changes have occurred.

There has been some discussion of "executable links" on the vimwiki github site, which may (or may not) be helpful; vimwiki/vimwiki#19

With regards to highlighting, because this form is always intended to be the header of a list, it might be a good visual cue if this link-type was always underlined when concealed, but that would be icing on the cake!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant