replay a vim macro until end of buffer January 8, 2023 by Tarik Personally I would do VG:normal @x Edit: changed register to the one you specified.