替换为交互式批准

:s/foo/bar/c 在行上标记 foo 的第一个实例,并要求确认替换为 bar

:%s/foo/bar/gc 连续标记文件中 foo 的每个匹配项,并要求确认替换为 bar