Move your mouse to the sword and hold down LMB to grab it. Make swinging motions with your mouse to swing the sword. Hold space while holding the sword to parry.
Concept inspired by Daggerfall.