X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=vim%2Flilypond-ftplugin.vim;h=0c3a8dc7e2582547a5a56261d4c9d1f5b633e1b3;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=2a2a580159f21304a55d0b6bf50210630994aa8b;hpb=d59c519d8248e9c337f9020e98242e2afbfcb3e8;p=lilypond.git diff --git a/vim/lilypond-ftplugin.vim b/vim/lilypond-ftplugin.vim index 2a2a580159..0c3a8dc7e2 100644 --- a/vim/lilypond-ftplugin.vim +++ b/vim/lilypond-ftplugin.vim @@ -1,10 +1,8 @@ " LilyPond filetype plugin " Language: LilyPond (ft=ly) -" Maintainer: Heikki Junes -" Last Change: 2004 March 1 " " Installed As: vim/ftplugin/lilypond.vim -" Uses Generated File: vim/syntax/lilypond-words.el +" Uses Generated File: vim/syntax/lilypond-words.vim " " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -19,17 +17,14 @@ setlocal shiftwidth=2 " " some handy key mappings " -" save & make and play midi -map :w:se makeprg=lilypond\ -m\ %<:make:!timidity %<.midi +" save & make and play midi with timidity +map :w:setl makeprg=lilypond\ \"%<\":make:!timidity "%<.midi" " -" save & make dvi, midi, ps -map :w:se makeprg=lilypond\ %<:make +" save & make +map :w:setl makeprg=lilypond\ \"%<\":make " -" view ps -map :!gv -watch %<.ps & -" -" view dvi -map :!xdvi %<.dvi & +" view pdf with ghostview +map :!gv --watch "%<.pdf" & " " prev error map :cp @@ -38,7 +33,7 @@ map :cp map :cn " " make -map :w:se makeprg=make\ -k:make +map :w:setl makeprg=make\ -k:make " " menu source $VIMRUNTIME/menu.vim