* scripts/convert-ly.py (FatalConversionError.conv): rule for pedal-style
[lilypond.git] / vimrc
blobb6093bb8ef5750064baa897462e1011b5f94e841
1 :version 6.1
2 set autoindent
3 set shiftwidth=2
5 " some handy key mappings
7 " <F4>  save & make and play midi
8 map <F4> :w<Return>:se makeprg=ly2dvi\ -m\ %<<Return>:make<Return>:!timidity %<.midi<Return>
10 " <F5>  save & make dvi, midi, ps
11 map <F5> :w<Return>:se makeprg=ly2dvi\ -P\ %<<Return>:make<Return>
13 " <F6>  view ps
14 map <F6> :!gv -watch %<.ps &<Return>
16 " <S-F6>  view dvi
17 map <S-F6> :!xdvi %<.dvi &<Return>
19 " <F7>  prev error
20 map <F7> :cp<Return>
22 " <F8>  next error
23 map <F8> :cn<Return>
25 " <F9>  make
26 map <F9> :w<Return>:se makeprg=make\ -k<Return>:make<Return>
28 " <F10> run buffer through lily
29 map <F10> :w<Return>:se makeprg=lilypond\ %:t<Return>:make<Return>
31 " <S-F10> run buffer through lily -M
32 map <S-F10> :w<Return>:se makeprg=lilypond\ -M\ %:t<Return>:make<Return>
34 " <F12> comment region
35 map <F12> :g!/%.*/normal 0i%<Return>
37 " <S-F12> remove comments in region
38 map <S-F12> :g/%.*/normal 0x<Return>
40 " Completions in Insert/Replace-mode with <Ctrl-N>
41 set dictionary-=~/.vim/lilypond.words dictionary+=~/.vim/lilypond.words
42 set complete-=k complete+=k
43 " errorformat for lily (with columns) and gcc
44 " (how to see multiple-line error messages?)
46 se errorformat=%f:%l:%c:\ %m,%f:%l:\ %m,In\ file\ included\ from\ %f:%l:,\^I\^Ifrom\ %f:%l%m