Optionally move cursor while replace all