]> git.donarmstrong.com Git - lilypond.git/blob - vimrc
* scripts/lilypond-book.py: make URL for printfilename option.
[lilypond.git] / vimrc
1 :version 4.0
2 set autoindent
3 set shiftwidth=2
4 set tags=$LILYPOND_SOURCEDIR/flower/tags,$LILYPOND_SOURCEDIR/flower/include/tags,$LILYPOND_SOURCEDIR/lib/tags,$LILYPOND_SOURCEDIR/lib/include/tags,$LILYPOND_SOURCEDIR/lily/tags,$LILYPOND_SOURCEDIR/lily/include/tags
5 "
6 " some handy key mappings
7 "
8 " F7  prev error
9 map \e[18~ :cp\r
10 "
11 " F8  next error
12 map \e[19~ :cn\r
13 "
14 " F9  make
15 map \e[20~ :w\r:se makeprg=make\ -k\r:make\r
16 "
17 " F10 run buffer through lily
18 map \e[21~ :w\r:se makeprg=lilypond\ %:t\r:make\r
19 "
20 " F11 check buffer for quarts
21 map \e[23~ :w\r:se makeprg=lilypond\ -Q\ %:t\r:make\r
22 "
23 " shift F10: run buffer through lily -M
24 map \e[34~ :w\r:se makeprg=lilypond\ -M\ %:t\r:make\r
25 "
26 "
27 " errorformat for lily (with columns) and gcc
28 " (how to see multiple-line error messages?)
29 "
30 se errorformat=%f:%l:%c:\ %m,%f:%l:\ %m,In\ file\ included\ from\ %f:%l:,\^I\^Ifrom\ %f:%l%m
31