Marius Gedminas wrote:
>
> I once needed to diff more files than vim would support (IIRC I was
> comparing lists of installed packages across five servers). Having to
> recompile vim for that was a pain.
>
> Forgetting that you set diff on for a buffer is already possible when
> you're diffing just two buffers -- I used to do that all the time.
> Increasing the number of diff'able buffers is not going to affect this
> one way or another.
>
>
Seems that this would be a case where one ought to be able to show
something in the status line -- and the 'diff' setting seems to be
useful in this regard.
So, may I suggest using something like: set stl="... %{&diff? "[DIFF]"
: ""} ..." where the dots is your choice controlling whatever else you
might like to have in your statusline. Maybe a %d (for [diff]) and %D
(for [DIFF]) would be useful for new statusline modifiers? (presumably
would expand to nothing when &diff is false)
Regards,
Chip Campbell
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.