lilypond-user
[Top][All Lists]
Advanced

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

Re: vim mode


From: Graham Percival
Subject: Re: vim mode
Date: Fri, 12 Aug 2005 14:00:05 -0700


On 12-Aug-05, at 8:14 AM, Sterling Sympatico wrote:
I have a dir - ~./vim/syntax with one file 'lilypond.vim'. This file has
a date of 2002 (in the first few lines).  I note that there are quite a
few *.vim files in the /usr/share/lilypond/2.4.5/vim/ directories. Do I
need to do anything to the various files or are they picked up
automatically by y lilypond.vim file?

Here's what I have:

spark:~ gperciva$ more ~/.vimrc
set encoding=utf-8
set fileencodings=utf-8,latin1
set fileencoding=utf-8
set termencoding=utf-8
set runtimepath+=~/usr/pkg/lilypond/share/lilypond/2.7.5/vim/
syntax on

spark:~ gperciva$ more ~/.vim/filetype.vim
if exists("did_load_filetypes")
          finish
        endif
        augroup filetypedetect
          au! BufNewFile,BufRead *.ly           setf lilypond
        augroup END


(no other files in ~/.vim/)

I don't know if it's all necessary, but this setup works in both vim 6.2 and 6.3.

Cheers,
- Graham





reply via email to

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