jair...@etca.com.ve wrote:
> Thanks Dominique for your answer :-)
>
> > Completion could indeed be improved for diffput & diffget.
>
> Did you mean something like creating custom commands, like :Diffget
> and :Diffput, that behave in that way?
No. I meant we could add completion to the Vim :diffget
and :diffput commands. I just created a pull request
with this new feature:
https://github.com/vim/vim/pull/5409
Can you try it and provide feedback?
With this proposed change, `:diffget` and `:diffput`
complete to file names which are diff mode and which
are different than the current buffer. No completion
when current buffer is not in diff mode. No completion
either in vim tiny/small where FEAT_DIFF is not enabled.
Regards
Dominique