set nomod
" Get the modified files. Discount new files.
- let l:files = system("sed -n '1,/^$/d;s/^[MR]....//p' " . bufname(""))
+ let l:files = system("sed -n '1,/^$/d;/^[MR]..../{s//\"/;s/$/\"/p;}' " . bufname(""))
if l:files == ""
return
set bufhidden=hide
setlocal noswapfile
file [svn diff\]
+ " Map q to quit easily.
+ noremap <silent> <buffer> q <C-W>q
" Switch back to the top window.
wincmd k