On 06/08/10 21:53, Libo Song wrote:
On Fri, Aug 6, 2010 at 3:16 PM, Bram Moolenaar<[email protected]>  wrote:

Libo Song wrote:

Thanks. Great work.

I have an issue in the new Vim7.3e BETA. It is probably not a bug.
When I use :find, type some letters, then<TAB>  gives me a list of
choices. In 7.2, it shows, for example, the files under a dir. But in
7.3e, it shows the files with the path, then fewer item on the list.
If I have a deep path, there will be no files shown, only a ">".

This was probably fixed yesterday.

Run hg pull; hg update; make
Then,
I set wildmode=list. Here is the output after press<TAB>.
~
:find ~/work/temp/
~/work/temp/1/
~/work/temp/apache_rewrite_driver_factory.cc
~/work/temp/c-httpd
~/work/temp/dump_cache.gyp
~/work/temp/favicon.ico
~/work/temp/filename_encoder.cc
~/work/temp/filename_encoder.h
~/work/temp/filename_encoder_test.cc
....

Set wildmode=full. The result is
~/work/temp/1/  ~/work/temp/apache_rewrite_driver_factory.cc>
:find ~/work/temp/1/

If you hit Ctrl-D while on the command-line, you'll see all possible completions. Then you can type a few letters of the one which interests you, and use completion again thereafter.




BTW, how can I get to the next "set of items" show on the list other
than press the<RIGHT ARROW>? For example, I have the items shown:
aprutil.Makefile  aprutil.gyp  aprutil.target.mk  gen/  include.target.mk>
I want to see more items.

Are you using 'wildmenu'?  You can use Tab multiple times or perhaps
change 'wildmode' to change how it works.

No, I was not using 'wildmenu'. I was still using V7.2, Tab does not work.

The problem you describe looks like what 'wildmenu' would show.

..."Tab does not work"... Are you sure you're in 'nocompatible' mode? Otherwise (in 'compatible' mode) it's Ctrl-E instead of Tab.

See ":help cmdline-completion" and the help for the various options starting in 'wild


Best regards,
Tony.
--
Life is a whim of several billion cells to be you for a while.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to