Skip to content

Conversation

protist
Copy link
Contributor

@protist protist commented May 16, 2015

Fixed bugs:

  • Rename from vmtree to vwtree.
  • Allow files with ── in their name.
  • Minor copyedit.

Added features:

  • Print un-checked todo items.
  • Added option to print only todo items or contents.

protist added 4 commits May 14, 2015 23:30
vwtree stands for VimWikiTREE.
* Use perl's non-greedy regex to allow files with ── in their name.
* Remove extraneous newline after title.
* Clarify that users can run command with no argument; script will run
    in the current directory.
Print one todo item per line in wiki format with linked page. Print at
the top of the output file, with the contents following.
* Use -t to only print todo items; -c to only print table of contents.
* Print usage with -h or error in options.
* Fix header comments.
* Minor grammar fixes.
@protist
Copy link
Contributor Author

protist commented May 16, 2015

I'm not sure if I did this the "correct" way, so please let me know. I created a new branch (vwtree_dev), and made the pull request from this branch. Cheers.

@EinfachToll
Copy link
Member

Printing out the open todo items is surely useful, but has exactly nothing to do with printing the tree structure of the wiki. Why not making a script of its own?

@protist
Copy link
Contributor Author

protist commented May 18, 2015

I put it in a single script because personally, I output to a single index.wiki page. I did think that some might not want to put both on a single page, hence the script can also output only either todo list with vwtree.sh -t or the contents with vwtree.sh -c. I suppose the name is wrong now anyway; maybe something like vwmakeindex.sh is better.

I guess two scripts might work, although personally, I'd probably alias (vmtodo.sh; echo; vmtree.sh ) anyway.

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

Successfully merging this pull request may close these issues.

2 participants