I'm working with a file where definitions, and references to those definitions are in different parts of the file. I'm looking at the file in a split window - one half looking at the definition, the other half looking at a reference, so that I can update both, and then easily move onto the next definition.
What I want to be able to do, is find a word in one pane, and then search for that word in the other pane. Much like putting the cursor over a word in command mode, and pressing *, except that the current pane shouldn't move - the other should.
Is there a way to do this in vim?
Or, can anyone suggest a different way of working that would make this easier?