what i want to do
- editing one file
- run '!svn diff %' (or any other command that takes the current file name)
- put the output on a new buffer (or tab)
bonus: not using a script, as i work often on hosts i do not manage to my liking.
My first try was:
:tabnew | r !svn diff % which obvious does not work because % will be empty as it is parsed after the tabnew command.