Vim mode

For Vim, 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/lilypond/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 Other sources of information.

LilyPond — Usage v2.25.8 (development-branch).