googler wrote:
> Hi,
> I am using the directory listing features of gvim (for example using
> the Explore command). I am wondering if there is a way to display the
> directory contents in a tree structure, like in Windows Explorer for
> example. Currently when I click on a directory name, it will open a
> new page and show the contents of this directory. I don't want this --
> what I want is, it will just expand the subtree under that directory.
> Is such a thing possible in gvim? May be I'm asking for too much, but
> it will be nice if this is possible.
> In case the above is possible, a great use (or next step) will be to
> have a file open in a split window when its name is clicked on the
> other window.
> Any suggestions? Thanks.
>
* When looking at a directory, press the "i" key several times until
you get the tree listing style. If you always want that style, put
let g:netrw_liststyle= 3
into your .vimrc .
* let g:netrw_retmap = 1 lets a double-left click return to the
directory menu (you didn't ask, but I thought it of interest)
* let g:netrw_browse_split= 2
Regards,
Chip Campbell
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---