Something
public text v1 · immutablefunction VDiff()
new
if isdirectory(getcwd() . "/.svn")
r!svn di
endif
1d
set nomod ft=diff
endfunc
nmap <F6> :call VDiff()<CR>
function VDiff()
new
if isdirectory(getcwd() . "/.svn")
r!svn di
endif
1d
set nomod ft=diff
endfunc
nmap <F6> :call VDiff()<CR>