Hi! #1 would be more grammatically correct, but an even better alternative would be "I plan to go swimming rather than cycling" because we English-speakers are lazy and prefer shorter sentences. It sounds more natural, like something you'd hear in daily conversation.