lilypond-user
[Top][All Lists]
Advanced

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

Re: Automatic indentation in Vim


From: Daniel Hulme
Subject: Re: Automatic indentation in Vim
Date: Thu, 13 Nov 2008 23:17:07 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Nov 13, 2008 at 11:39:28PM +0100, Frédéric Bron wrote:
> by the way, do you know how to change the default indentation in  
> lilypond files from 2 spaces to 1 tabulation?

Yes. Edit the file ftplugin/lilypond.vim (in the ~/.vimfiles directory;
copy it from /usr/share/lilypond/*/vim if you use the 'runtimepath'
method of having Vim read the files that Lilypond installs there). Find
the line
setlocal shiftwidth=2
and delete it. Then Vim will use the same value that it uses for
everything else.

-- 
The first step in avoiding a trap is being aware of its existence.
The second step is being aware that the first step is not the only one.
http://surreal.istic.org/                            Why did you resign?

Attachment: signature.asc
Description: Digital signature


reply via email to

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