That would move pelosi up as vice president?Correct?
No. (Not to mention that you’re getting ahead of yourself.) ;-)
Go back to 1972 and 1973. We had both a VP and a President resign and be replaced. Succession to the Presidency is prescribed in the Constitution, but VP replacements are nominated and confirmed.
25th Amendment, Section 2. Whenever there is a vacancy in the office of the Vice President, the President shall nominate a Vice President who shall take office upon confirmation by a majority vote of both Houses of Congress.