Use indent folding: indent lines instead of adding fold markers. This
fixes display of large Javascript blobs which might contain a closing
fold marker. It looks probably better with folding enabled, too.
Then, pass '-c "set ..."' to `view` (assuming it's linked to `vim`),
instead of using a modeline. The latter will be disabled for root, at
least by default.
Minor improvements on the svnsafeup function:
- use last line of diffstat as header
- add 2nd level folds to diff sections, folding each file's diff
- require "y" to continue to `svn up`
If the svn plugin is used, svn info (repo name and wether the repo is dirty) is displayed in the prompt like with git. Just lke with git, the colors can be manipulated with variables (see awesomepanda theme for example).