lilypond-usage: Vim mode
Vim mode
--------
For Vim (http://www.vim.org), a filetype plugin, indent mode, and
syntax-highlighting mode are available to use with LilyPond. To enable
all of these features, create (or modify) your ‘$HOME/.vimrc’ to contain
these three lines, in order:
filetype off
set runtimepath+=/usr/local/share/current/vim/
filetype on
syntax on
If LilyPond is not installed in the ‘/usr/local/’ directory, change the
path appropriately. This topic is discussed in
(lilypond-learning)Other sources of information.