X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=vim%2Flilypond-ftplugin.vim;h=015028fc9bdc51207266db1bcbf4c92b8ac9e117;hb=bcc614a22846155a863b2d3a6cd5f3e7ff106fd5;hp=1579388a425556c6807e429283232c4b3e9a77ee;hpb=14e52068a065aed9faaae209d54c3d40e7b18651;p=lilypond.git diff --git a/vim/lilypond-ftplugin.vim b/vim/lilypond-ftplugin.vim index 1579388a42..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