summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/lilypond-ftplugin.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/lilypond-ftplugin.vim b/vim/lilypond-ftplugin.vim
index 6d60ca3bf6..015028fc9b 100644
--- a/vim/lilypond-ftplugin.vim
+++ b/vim/lilypond-ftplugin.vim
@@ -20,13 +20,13 @@ setlocal shiftwidth=2
" some handy key mappings
"
" <F4> save & make and play midi with timidity
-map <buffer> <F4> :w<Return>:se makeprg=lilypond\ -m\ %<<Return>:make<Return>:!timidity %<.midi<Return>
+map <buffer> <F4> :w<Return>:se makeprg=lilypond\ \"%<\"<Return>:make<Return>:!timidity "%<.midi"<Return>
"
" <F5> save & make
-map <buffer> <F5> :w<Return>:se makeprg=lilypond\ %<<Return>:make<Return>
+map <buffer> <F5> :w<Return>:se makeprg=lilypond\ \"%<\"<Return>:make<Return>
"
" <F6> view ps with ghostview
-map <buffer> <F6> :!gv --watch %<.ps &<Return>
+map <buffer> <F6> :!gv --watch "%<.ps" &<Return>
"
" <F7> prev error
map <buffer> <F7> :cp<Return>