Changed how the binding for r command works.