switch onkey by :xxx command