Re: Changed diff3 view from 2.36 → 2.67 for vimdiff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> After successfully compiling Git, I'm almost ashamed to ask, but I was NOT
> able to run the vim command you suggested, Fernando:
> 
> vim -c "echo | split | vertical split | 1b | wincmd l | vertical split | 2b | wincmd l | 3b | wincmd j | 4b | tabdo windo diffthis" -c "tabfirst" local.txt base.txt remote.txt merged.txt
> 

Hi Claudio,

Notice that this command was meant to be executed *directly* from the terminal
(and not from .gitconfig).

It just opens 4 files that, as you noted, do not exist... but that's ok with
vim: it will open 4 buffers named after the provided filenames and only save
them to disk when running ":w".

The result should be something like what is shown in [1], ie. 4 empty buffers
named "local", "base", "remote" and "merged" shown with the expected layout.

Hope this helps!

Fernando.


[1] https://postimg.cc/dL8G2mng



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux