Thursday, April 1, 2021

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

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

--
--
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/20210401170136.GG2834374%40256bit.org.

No comments:

Post a Comment