I've entered some search pattern in vim using / command. Now, I want to replace those occurrences I've found with something else.
How do I easily insert the recently used search pattern into the :%s/ command?
The history (accessible via ↑ and ↓ keys) is separate for search and replace, hence my problem.