Thursday, April 1, 2021

Re: VimDIFF - ONLY on the first field of two files ?

Christian, Charles, Bram,

Thanks so much for your responses! - they are much appreciated!

Phil.


On 2021-04-02 04:01, Christian Brabandt wrote:
> On Do, 01 Apr 2021, 'Philip Rhoades' via vim_use wrote:
>
>> People,
>>
>> I live in vim and therefore use vimdiff most of the time for my needs
>> but I
>> have a use case where I only want to diff on the FIRST field of two
>> files ie
>> the files have lines that look like:
>>
>> [dir|file]name | [D|F] | mtime
>>
>> and I need to be able to have vimdiff only working on the
>> [dir|file]name and
>> ignore the rest of the line - is this possible somehow?
>>
>> Thanks,
>
> Have a look at my plugin:
> https://github.com/chrisbra/vim-diff-enhanced
>
> The README.md has an example of that.
>
> Best,
> Christian
> --
> So kam ich unter die Deutschen. Ich forderte nicht viel und war
> gefaßt noch weniger zu finden.
> -- Johann Christian Friedrich Hölderlin
>
> --

--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/dd4a5841eef66a35ac5391d790c8ed1e%40pricom.com.au.

No comments:

Post a Comment