# Vim tree plugin?

**URL:** <https://www.ruby-forum.com/t/vim-tree-plugin/151853>\
**Category:** RSpec\
**Created:** [October 27, 2008, 12:23am UTC](https://www.ruby-forum.com/t/vim-tree-plugin/151853 "2008-10-27T00:23:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [October 27, 2008, 12:23am UTC](https://www.ruby-forum.com/t/vim-tree-plugin/151853/1 "2008-10-27T00:23:24Z")

</div>

Does anyone know if there’s a vim plugin out there that will show a tree  
of your describe/it blocks at a glance. Preferably with click ability to  
go right to that location?

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [October 27, 2008, 3:43pm UTC](https://www.ruby-forum.com/t/vim-tree-plugin/151853/2 "2008-10-27T15:43:09Z")

</div>

On Sun, Oct 26, 2008 at 4:11 PM, Steve [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Does anyone know if there’s a vim plugin out there that will show a tree of  
> your describe/it blocks at a glance. Preferably with click ability to go  
> right to that location?

It’d be awesome to have a ctags-esque feature for viewing a list of  
example groups, but I’ve not seen such a thing. However, if you use  
syntax-based folding for ruby files (:set foldmethod=syntax), then  
collapsing all folds (zM) will show you your top-level example groups,  
unfolding one will show the examples within it, etc. The only drawback  
is that syntax-based folding gets a bit slow on particularly large or  
deeply nested files.

HTH

k
