Set keys to repeat.