summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorKeith OHara <k-ohara5a5a@oco.net>2011-12-18 21:57:06 -0800
committerKeith OHara <k-ohara5a5a@oco.net>2011-12-18 21:57:06 -0800
commite40e4d176e99a3ca92f9a93611be094cdb87e613 (patch)
treee5376308f81629368ec11689234b268b0689c843 /vim
parent968e4722ea19df8485b5fec506c3b2dc9a29c664 (diff)
ftplugin.vim: Quote filenames
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>