On 2010-05-14, David Reed <david.ree...@gmail.com> wrote:
> Hi,
> 
> Thanks for the help so far.  So taking your advice, I decided to
> delete the ~ /.vim directory and have run into another set of
> errors.

Whether you put the latex-suite files in /usr/share/vim/vimfiles or
in ~/.vim is pretty much up to you and whether or not you want them
available to other users.  I avoided discussing ~/.vim because I'm
not familiar with Macs and don't know how much of what works on
other Unixes works on OS X.

> I have seen this before, but am really not sure I solved it.  I
> have include a screenshot of the list of errors. 

Apparently the attachment didn't survive.

> Another question is when I put files in the vimfiles, do I just leave
> everything as it was unzipped?  So it will look something like:
> 
> /usr/share/vim/vimfiles/compiler
> /usr/share/vim/vimfiles/doc
> /usr/share/vim/vimfiles/ftplugin
> /usr/share/vim/vimfiles/indent
> /usr/share/vim/vimfiles/plugin
> 
> as well as the other files that come with the download?

Yes.

> If so, since I currently do not have a folder named vimfiles in
> this directory, how do I add it to the search path?

It doesn't need to be your shell's search path; it needs to be in
Vim's 'runtimepath', and it should already be there.  If you execute

    :set rtp?

the result should look something like this:

    
runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim70,/usr/share/vim/vimfiles/after,~/.vim/after

That came from a system running Aurora SPARC Linux, but from what
you've written so far, I would expect it to look similar on OS X.
The 'runtimepath' option tells Vim where to look for plugins just as
PATH tells the shell where to look for executables.  See

    :help rtp

One other thing.  You said you deleted ~/.vim.  Do you still have a
~/.vimrc?  Without that file, Vim may start in 'compatible' mode,
which causes it to behave more like vi than like vim.

> Thanks for the help

You're welcome.

Regards,
Gary


------------------------------------------------------------------------------

_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to