
(Click to animate; it's a GIF)
By default, 'Q' and 'E' will be bound to 'Lean Left' and 'Lean Right' respectively. You may instead choose to bind a Strafe-lean key, which will cause the strafe keys to lean while it is held.
Known issues:
• Strafe-lean does not prevent strafing in Hideous Destructor. I recommend using keybinds for 'Lean Left' and 'Lean Right'.
• Because the leaning is currently implemented as a mere quick sidestep, you will fall off of any ledge you attempt to lean over.
• The lean angle option is meant for fine-tuning, but be warned that using extreme values (e.g. 90) may be unplayable.
I would like to fix the leaning-over-ledges issue and will be considering methods for doing that. Also thinking on an alternate implementation that should fix the Hideous Destructor incompatibility hopefully.
Feel free to modify this or integrate this into your own mods. I always appreciate credit, too, so go ahead and mention me if you use it (But I won't hunt you down if you don't

EDIT: I just realized this may well not function correctly with multiplayer. Please let me know if that is the case; I already have a fix in mind.