Commit graph

5 commits

Author SHA1 Message Date
Daniel Hahler
b959922708 svnsafeup: improve presentation (fold-indent).
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.
2011-04-12 21:51:18 +02:00
Daniel Hahler
b9e76ce057 svnsafeup: fold diff blocks, oneline stat, y/n
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`
2011-03-29 01:55:10 +02:00
Daniel Hahler
845d86b0b0 Fix quoting for $diff assignment. 2011-03-23 22:08:20 +01:00
Daniel Hahler
cef8ea75a9 Add svnsafeup function to svn plugin.
This provides a useful method to update some SVN repository in a "safely"
manner.
2011-03-23 21:39:14 +01:00
Robin Ramael
664b97a3c8 Added svn info in prompt with plugin.
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).
2011-01-10 18:18:31 +01:00