Key Pickup: You can only pick up items when the item pickup key is pressed, thus preventing you from randomly collecting items while you’re moving.
Click o to open the Options window, then select UI menu, next set Key Pickup value.
The default value is Disabled. You can also set “Use Highlight Key” or “Use Bound Key(F)”.