Re: auto complete function of the tab does not work

2006-12-14 Thread Yegappan Lakshmanan

On 12/13/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:


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



In Vim7, Vim sets the MYVIMRC environment variable to the first
found .vimrc/_vimrc file. Similarly sets the MYGVIMRC variable to
the first found .gvimrc/_gvimrc file.

So to get the location of the vimrc used by Vim, use

   :echo $MYVIMRC
   :echo $MYGVIMRC

- Yegappan


Re: auto complete function of the tab does not work

2006-12-14 Thread Steven Woody

thank you all! the problem has been resolved.  actually, 'verboset set
cp?' returns 'compatiable', so i recheck where is my _vimrc file and
found it was lost.  i rewrite the file and everything goes fine.

thank you again!

On 12/15/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote:

On 12/13/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:

 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


In Vim7, Vim sets the MYVIMRC environment variable to the first
found .vimrc/_vimrc file. Similarly sets the MYGVIMRC variable to
the first found .gvimrc/_gvimrc file.

So to get the location of the vimrc used by Vim, use

:echo $MYVIMRC
:echo $MYGVIMRC

- Yegappan




--
woody

then sun rose thinly from the sea and the old man could see the other
boats, low on the water and well in toward the shore, spread out
across the current.


auto complete function of the tab does not work

2006-12-13 Thread Steven Woody

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.

--
woody

then sun rose thinly from the sea and the old man could see the other
boats, low on the water and well in toward the shore, spread out
across the current.


Re: auto complete function of the tab does not work

2006-12-13 Thread A.J.Mechelynck

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=43866package_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.


Re: auto complete function of the tab does not work

2006-12-13 Thread A.J.Mechelynck

Steven Woody wrote:

On 12/14/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:

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?


i got E488: Trainning characters: cp?wc?



Make sure you have a space between the first question mark and the rest.


Best regards,
Tony.


Re: auto complete function of the tab does not work

2006-12-13 Thread A.J.Mechelynck

Steven Woody wrote:

On 12/14/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:

Steven Woody wrote:
 On 12/14/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
 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?

 i got E488: Trainning characters: cp?wc?


Make sure you have a space between the first question mark and the rest.




after inserted the space, the command executed succesfully.  but the
tab is still not functionable. when i press 'tab', it only pops up
'^I' in the command edit line :-(




Sure, that command doesn't change anything, it just asks Vim for info. What is 
the reply?


And, please, use Reply to List (if your mailer offers it) or Reply to All 
but not Reply to Sender because the latter won't show your reply to all 
other users on the list. (I'm just a plain user like you, not a professional 
field-support emploee: Vim doesn't have any of those.)



Best regards,
Tony.