lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vim


From: Stefan Thomas
Subject: Re: vim
Date: Sat, 12 Apr 2008 19:27:52 +0200

Dear Patrick,
I had luck, it worked!
Thanks
Stefan

2008/4/10, Patrick McCarty <address@hidden>:
On Thu, Apr 10, 2008 at 03:56:26PM +0200, Stefan Thomas wrote:
> Dear lilypond-users,
> I have a question concerning vim. I've read that there is a special
> vimrc available. But where can I get or find it? And I've also read
> that I have to add to the file " ~/.vim/filetype.vim "
> the message
>      if exists("did_load_filetypes")
>        finish
>      endif
>      augroup filetypedetect
>        au! BufNewFile,BufRead *.ly           setf lilypond
>      augroup END
>  But unfortunately I don't find a file of the kind
> ~/.vim/filetype.vim. What can I do?
> Thanks for Your support!
> Stefan


Hi Stefan,

If you have LilyPond installed in Linux, the necessary content for
~/.vim/filetype.vim and ~/.vimrc is not installed by default.  You
have to add it yourself.

Just add the if exists(...) stuff to ~/.vim/filetype.vim, or create
~/.vim/filetype.vim with this content if the file does not exist.
Then add the following line to ~/.vimrc

set runtimepath+=~/lilypond/usr/share/lilypond/current/vim/

If that doesn't work, find out where this "vim" directory is located,
and change the path accordingly.

Hope this helps,

Patrick


reply via email to

[Prev in Thread] Current Thread [Next in Thread]