There's actually a keybind for Target Nearest Enemy, but I don't believe it's bound to anything by default. I have it set to tab, but sometimes even that gets annoying because then I can't tab-target. This is a part of why I usually target with a mouse instead, but even that's not always reliable. . .