Philipp Grubauer made 23 saves for the Capitals (4-2-1), who avoided losing three straight games in regulation for the first time since Feb. 22-27, 2015.
"There really wasn't a line I didn't care for," Trotz said. "All our lines had important elements that allowed us to play a really dangerous game."
The new second line, with center Evgeny Kuznetsov dropping down to play between Johansson and Wilson, had the biggest impact, scoring two goals in 15 seconds late in the first period.
Johansson scored on a deflection with 2:03 left, and then got an assist on Wilson's first goal of the season for a 2-0 lead with 1:48 remaining in the first. Kuznetsov had the primary assist.
"[Kuznetsov] is a creative player, and I think he makes whoever he is playing with better," said Wilson, who was promoted from the fourth line. "The line clicked."