Hello,

"Peter Marczis (NSN - HU/Budapest)" <peter.marc...@nsn.com> wrote :
> I would like to write a vim script which reads into a list , the
> directory treeā€¦
> how it is possible to get the subdirectories into a list ? (from PWD
> for example.)

You can also play with:
  echo filter(split(globpath(getcwd(), '**'), '\n'), 'isdirectory(v:val)')

It may not be the most efficient way, but it should do the trick.

-- 
Luc Hermitte
http://lh-vim.googlecode.com/
http://hermitte.free.fr/vim/

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to