Fix r-plugin key binding issue