| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Kenny McCormack scripsit: > In article <991ea78e-b8e1-4f86-aac7-f061076e716d@t54g2000hsg.googlegroups.com>, > bgold12 <bgold12@gmail.com> wrote: >>Is there a way to list all files in a directory tree to the current >>vim buffer, similar to what the system command "ls -R >> tempfile" >>would do in the command line? > >:r !ls -R Or ut =glob('**')In pure Vimspeak. m. -- LaTeX + Vim = http://vim-latex.sourceforge.net/ Vim Universal Templates: http://vim.sf.net/script.php?script_id=1078 vim.pl - http://skawina.eu.org/mikolaj CLEWN - http://clewn.sf.net |
|
#2
| |||
| |||
| Unfortunately, ut =glob('**')makes my Vim (7.1) freeze... /Staffan |
|
#3
| |||
| |||
| Sven7 scripsit: > Unfortunately, > > ut =glob('**')> > makes my Vim (7.1) freeze... 1. It is not very fast. 2. It will list *all* files down from current directory. If you start Vim from $HOME it can really take some time to list all files there. m. -- LaTeX + Vim = http://vim-latex.sourceforge.net/ Vim Universal Templates: http://vim.sf.net/script.php?script_id=1078 vim.pl - http://skawina.eu.org/mikolaj CLEWN - http://clewn.sf.net |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.