Watch the Two Chords Two Keys online guitar lesson by TrueFire from Play Rock Guitar 7: Style Diversity
Two Chords Two Keys - Breakdown is a video guitar lesson presented by Joe Pinnavaia and is sourced from Focus On: Fusion.
Starting to play through changes with two chord vamps. D Min7 to D Maj 7 - only a whole step separates these keys but it's still a challenge to navigate the fretboard. Again triads and chord shapes can be used to stay inside the keys but also look for ways to resolve into the changes. A line that goes from G, F#, to F natural would work great and in essence is a chromatic line. If you look at places where this happens on the fretboard it can free you up to try resolving and landing on tones within the changes.
In this performance I stayed real simple to what the harmony is and outlined chord tones.
This would be the approach to start with before picking up the pace and trying more involved phrases. From beginning to end I was looking at where I could resolve and change the key at the same time.