agelessdummy / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

Generate links tree #108

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to have the possibility of visualising a tree of all pages.
Something like VimwikiGenerateLinks, but would instead generate something like:

[[Root]]
- [[Movies]]
-- [[Sci Fi]]
-- [[Western]]
- [[Books]]
-- [[Fiction]]

Normal precautions could be taken to prevent infinite recursion.
This could be configured to list nodes either alphabetically or in the order in 
which they appear in pages.

Original issue reported on code.google.com by henri.ducrocq@gmail.com on 25 Jul 2010 at 12:06

GoogleCodeExporter commented 8 years ago

Original comment by habamax on 25 Jul 2010 at 12:32

GoogleCodeExporter commented 8 years ago
Hi,

Any chance to get this feature soon?

Thanks a lot!

Original comment by julienbi...@gmail.com on 2 Aug 2012 at 3:23

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This is exactly the feature that I need to move from Zim-wiki [1] to Vimwiki. I 
would even go a step further and integrate it with the taglist plugin so that 
:TListToggle would open a sidebar with the tree. This is how taglist shows C / 
Python functions and it makes browsing source code a breeze.

Original comment by dotancohen on 14 Jan 2014 at 9:39

GoogleCodeExporter commented 8 years ago
It looks like Vimwiki does not have to implement this. Witness NERDTree:
https://www.flickr.com/photos/30496122@N07/2862367534/sizes/o/
https://www.youtube.com/watch?v=CPu9mDpSYj0

The only thing that really needs to be changed is to configure NREDTree to use 
~/.vimwiki when Vimwiki is opened and to have NERDTree automatically close when 
Vimwiki closes:

autocmd FileType vimwiki :NERDTree ~/.vimwiki
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && 
b:NERDTreeType == "primary") | q | endif

Seriously, with NERDTree in my opinion this issue could be closed. 

Original comment by dotancohen on 7 Oct 2014 at 5:54