I prefer to swim rather than skating.
I prefer to spend the weekend at home rather than go outside.
I prefer to live in England rather than go abroad.
I prefer to see animals in their natural surroundings rather than in zoos.
其实：prefer to do……rather than+do或doing都是正确用法：
I would prefer to spend the weekend at home rather than drive/driving all the way to your mother’s.
I would prefer to read a poorly-written book rather than read/reading a poorly-written review of it.
所以：prefer to do A rather than do B= prefer to do A rather than doing B
Rather than sit/sitting here waiting, I prefer to go to find out what on earth has happened.我宁愿去探个究竟，也不愿坐在这儿等待。
I prefer to go to find out what on earth has happened rather than sit /sitting here waiting.