shift+c/d command implement