X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=vim%2Flilypond-ftplugin.vim;h=015028fc9bdc51207266db1bcbf4c92b8ac9e117;hb=547472a64faf56b52b3f0f398e4d1949be57baa5;hp=2a2a580159f21304a55d0b6bf50210630994aa8b;hpb=d59c519d8248e9c337f9020e98242e2afbfcb3e8;p=lilypond.git diff --git a/vim/lilypond-ftplugin.vim b/vim/lilypond-ftplugin.vim index 2a2a580159..015028fc9b 100644 --- a/vim/lilypond-ftplugin.vim +++ b/vim/lilypond-ftplugin.vim @@ -1,10 +1,10 @@ " LilyPond filetype plugin " Language: LilyPond (ft=ly) " Maintainer: Heikki Junes -" Last Change: 2004 March 1 +" Last Change: 2010 Jul 26 " " 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 +19,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:se makeprg=lilypond\ \"%<\":make:!timidity "%<.midi" " -" save & make dvi, midi, ps -map :w:se makeprg=lilypond\ %<:make +" save & make +map :w:se makeprg=lilypond\ \"%<\":make " -" view ps -map :!gv -watch %<.ps & -" -" view dvi -map :!xdvi %<.dvi & +" view ps with ghostview +map :!gv --watch "%<.ps" & " " prev error map :cp