X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.vim%2Fscript%2Fp4;h=3dd4217c37582cef4fe46e4e6bb65932fa001bc7;hb=eee115c5a05f6e4441f820a67865af17a717ae13;hp=8b6ee166cd75e988106e20607085d6b9aa43b278;hpb=aad4d6943a871df9cc79f7f6d4351ac5ee3aa0bf;p=profile.git diff --git a/.vim/script/p4 b/.vim/script/p4 index 8b6ee16..3dd4217 100644 --- a/.vim/script/p4 +++ b/.vim/script/p4 @@ -21,7 +21,7 @@ fun! P4submit() set nomod " Get the files in the changelist. - let l:files = system("sed -n 's@^ \\(//.*\\) #.*@\\1@p' " . bufname("")) + let l:files = system("sed -n 's@^ \\(//.*\\) #.*@\"\\1\"@p' " . bufname("")) " Create a new window, move it below the spec and read in a diff. botright new if l:files != ""