Steven Woody wrote:
i just installed a 7.0 of vim on windows.  i remembered, in the
previous version, when i need to open a  file using the ':ed' command,
i can press <tab> after giving first few characters of the file ( or
path ), vim would auto complete the reset.

but after i installed the new vim 7.0. the <tab> does not work.  can
anyone know why?  i think i might miss some in the .vimrc.


If you have a .vimrc, and Vim finds it, it should set 'nocompatible' at startup. This would set up <Tab> as the wild key. So:

        :verbose set cp? wc?

It should answer

nocompatible
  wildchar=<Tab>

and, if these options were set (e.g. in your vimrc) it should tell you where. (If it doesn't tell you where an option was set, it means it either was left at its default, or set from the keyboard.)

To see if Vim finds your vimrc, look at the top of the output of the

        :scriptnames

command. To see _where_ it looks for a vimrc, use (on [g]vim for Windows)

        :echo $HOME
        :echo $VIM

Note: Which patchlevel did you install (as shown near the top of the splash screen, which can be recalled by using

        :intro

)? Bram's latest "official" build is 7.0.000. "More recent" builds of Vim for Windows (currently up to 7.0.178 which includes all the latest published bug fixes) are available from https://sourceforge.net/project/showfiles.php?group_id=43866&package_id=39721

Note that this is a "plain-vanilla" Vim and gvim distribution (with up-to-date runtime files, but without Cream) even though it is hosted with the Cream project.


Best regards,
Tony.

Reply via email to