I am using vim to replace with simple regex:
%s/Foo\(.\)/Bar\1Biz/gc
I wanna to confirm each occurence and Vim asks:
replace with Bar\1Biz (y/n/a/q/l/^E/^Y)?
Is it possible to substitute group (\1
) in prompt to see resulting sting for each occurrence?