Allow repeating operators with custom motions

Closes #8.