On 2009-11-11, thgr wrote:
> Hi vim users,
> 
> I want to use all the great features  of vim version 7 for redhat
> enterprise linux 4 (comes with vim 6.3) - so i downloaded the sources
> and compiled.
> 
> But now I am missing some great features - can anybody tell me how
> they can be invoked (or tell me where I can find a neat .rpm that has
> all the stuff)?
> 
> * command completion in command mode: doesn't work because I get for
> example ':set ignorec^I' (vim writes ^I instead of completing to ':set
> ignorecase'
> 
> * I can't browse the file system: e.g. ':e.' gives vim message: '"."
> is a directory' which is completely true but not what I wanted to
> achieve ...
> 
> Thank you very much for your help!

The default settings for configure should give you almost all the
features of vim, so you shouldn't need to do any more than

    ./configure
    make
    make install

unless you want something special like integration with perl, python
or cscope, for example.

Make sure your vim is running in 'nocompatible' mode.  Otherwise, it
will behave pretty much like vi.  One way to ensure this is to have
a file named .vimrc in your home directory.  You can execute

    :set compatible?

to check the state of that variable.

If that doesn't help, then execute these two commands and post the
results here.

    :verbose
    :scriptnames

That will tell us the features that your vim actually contains and
whether it is reading the configuration files properly.

As for rpm, I don't use it, but if you read the rpm man page you
should find an option for listing available packages.  That will
give you the name of the vim package, which is something like
vim-enhanced.  The package named just vi or vim will install the
tiny version of vim that has very few features.  You may need to
install an rpm named something like vim-runtime as well to get all
the runtime files, such as the ones that tell vim how to display a
directory.

Regards,
Gary



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to