While you might see informal abbreviations like "def" or "defs" used in casual online communication, they are not considered formal or universally accepted.
If you're looking for a way to shorten "definitely" in a formal setting, it's best to use the full word or a synonym like "certainly" or "absolutely".