Here...
  • Tap Spacebar to target party members/self. Hold spacebar to lock-on after tapping.
  • Replace "Toggle Combat Mode" key with "Flee" or "Disengage" key.
  • Enemy targeting should be smart enough to know what you want to target automatically. Tab once targets enemy, tap and hold locks on, double tap disables lock-on and/or moves to second priority target.

You shouldn't need more than that.