handle keyboard shortcuts ending with '-'