As an example I've recently been to Paris and the level of credit card adoption there is so high I didn't once need to take out cash. I likewise assume many of the locals avoid cash altogether and only pay by card.
But what's the etiquette in places where tips are common, like bars and restaurants? Are you supposed to keep cash just for the tips? Or is it up to the waiter/barman to offer you a tip option on the card terminal? I've tried asking the wait staff if I can leave a tip by card but they either misunderstood me or their POS terminal didn't have such a feature.