2
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?
Yeah yeah, tabs are great. I use them all the time when editing multiple files. In this case I want to view two parts of a file side by side, doing this in different tabs would defeat the purpose - I might as well search with *, and jump back with '' – SpoonMeiser – 2009-12-09T21:55:21.760