Not sure what you mean. If these are separate transactions, record them separately. OTOH, if a single transaction should impact more than one category, make that a split transaction, putting each category and its portion of the total on separate split lines.
Khaki Pegasus After this, YNAB should fill in the last category used when this payee imports. This works well for a take-out place since the category is probably always the same.
Be careful, though, for places like Target, Walmart, etc. where that auto-filled category may not be appropriate. Personally, I'll manually record right then and there so I don't have to remember what category is appropriate later on. The import will simply match the one I entered and not make a duplicate.