replace - Is there a way to edit last search/substitution pattern in vi? -


i made mistake in complex search pattern in vi editor , want modify now.

i know vi remembers last search pattern can view , edit ?

modern vi/vim keeps history of : , / command used in vi. can press arrow key search pattern again , edit it.


Comments