A free mod for Valheim, by aedenthorn.
You can use the Quick Cart mod from the BepInEx Mod Manager, which allows you to create and manage your own config files for the game. The Quick Cart mod can be used to attach or detach a nearby cart (nearest if there are several) without having to point the cross hairs at the attach area.
To adjust the config values, simply edit this file using a text editor or in-game using the Config Manager.
The most convenient way to install this mod is through Vortex. You can also install this manually by placing the dll file in the BepInEx/plugins folder. Manual installation requires BepInEx.