On 04/08/10 11:02, [email protected] wrote:
Hello.

I have a freshly installed CentOS host with VIM 7.0.237 pre-installed.

When I launch vi (on this host vi is not a soft link to vim), and then try to 
open a file using the sp command, nothing happens.  No error, no file, no 
nothing.

I have searched the faq, tips archive, and mailing list archive, all to no 
avail.

Can anyone help?  This must be something simple, no?

Thanks!
John

PS:  I don't know if this is relevant (and it's not important to me) but the help command doesn't 
work either.  I get the errors "E433: No tags file" and "E149: Sorry no help for 
help.txt".


If vi is not a softlink to Vim, then either it is another program, or it is a stripped-down version. Does it have a :version command? If it doesn't, then it is not Vim. If it does, what does it say?

Yet if it is a "different" version of Vim, it should still have help; but maybe it hasn't got split-windows. In the latter case though, :split should give you "E319: Sorry, the command is not available in this version".

If vi is _not_ a different version of Vim, then try running Vim instead (by naming it vim at the shell prompt). Has it got a help? If not, try :helptags $VIMRUNTIME/doc . This sould rebuild the tags file for the standard Vim help. Similarly, if you have a doc subdirectory in any directory mentioned in your 'runtimepath' option setting, run :helptags in it. And make sure that 'helpfile' points to $VIMRUNTIME/doc/help.txt . If all this doesn't make :help work, then there's something wrong to your CentOS Vim installation, in addition to the fact that Vim 7.0 is years obsolete. You could compile your own Vim ("stable" 7.2.446 or "bleeding-edge development" 7.3e) with the help of
http://vim.wikia.com/wiki/Getting_the_Vim_source_with_Mercurial
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm


Best regards,
Tony.
--
Notes for a ballet, "The Spell": ... Suddenly Sigmund hears the flutter
of wings, and a group of wild swans flies across the moon ... Sigmund
is astounded to see that their leader is part swan and part woman --
unfortunately, divided lengthwise.  She enchants Sigmund, who is
careful not to make any poultry jokes ...
                -- Woody Allen

--
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