Is there a way of synchronizing changes made in a html file only in some areas? leaving the other elements intact.
Lets say I have these 2 files:
hello-world-english.html:
<div>
<p>Hello World</p>
</div>
hello-world-spanish.html:
<div>
<p>Hola Mundo</p>
</div>
And I make the following change to the first one (hello-world-english.html):
<div id=new-div">
<div>
<h2 id="new-header-2">
</h2>
<p>Hello World</p>
</div>
<div>
Then I want the second one to synchronize the changes but leaving what's inside the <p> tag
intact:
<div id=new-div">
<div>
<h2 id="new-header-2">
</h2>
<p>Hola Mundo</p>
</div>
<div>
P S :
I'm using Vim!