Thursday, April 1, 2021

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

'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?
Check into the NarrowRegion plugin by Christian Brabandt
(https://www.vim.org/scripts/script.php?script_id=3075). I haven't used
it to do what you're asking for, but it seems to me that this plugin
might help you. Its worth a try, anyway.

Chip Campbell

--
--
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/da96fbad-41fe-bef8-6d0c-16e7ca78a8b6%40drchip.org.

No comments: