[HINT]:vim diff can acts as code merger

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[HINT]:vim diff can acts as code merger

Kunal Chauhan
Hi Team,


1.Can vimdiff act like a code merger.
2. In vimdiff to change color so it will be well visible and is there some color code.
3 . Is there some easy method to move text from.one file to another in vimdiff



Thks
Kunal

 

--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CACEFAc1NLsQmNd4L0j%2BYrvmXBNcsZ0CCLB0oyV50N4dXYEaXjw%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: [HINT]:vim diff can acts as code merger

Tim Chase
On 2020-06-20 23:14, Kunal Chauhan wrote:
> Hi Team,
>
>
> 1.Can vimdiff act like a code merger.

Yes.  Lots of options described at

  :help merge

> 2. In vimdiff to change color so it will be well visible and is
> there some color code.

The colors rely on your colorscheme.  In particular, DiffAdd,
DiffDelete, DiffChange, and DiffText.

If you want to change them, you can choose a different color-scheme,
of take an existing one and customize/personalize it to meet your
desires.

> 3 . Is there some easy method to move text from.one file to another
> in vimdiff

As above, see `:help merge` for options to get/put changes between
files. But to get you started

  :diffget
  :diffput
  do
  dp

-tim



--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200620132842.3e6a5fb9%40bigbox.attlocal.net.