To“To go huntinghunting” derives from an older form such as to go a-huntingto go a-hunting. Wiktionary has an article on this a-gerund under the headline a- -ing.
https://en.m.wiktionary.org/wiki/a-_-inga- -ing.
Wiktionary says this prefix a-a- was onthe form on. I'm not so sure. Theoretically this prefix might derive from various prepositions atat, toto, onon, inin. Originally the word formation was a- + gerunda- + gerund with the unambiguous ending -ing(e)-ing(e), Old English -ung/-ing. Later on, when the original ending of the present participle changed from endeende over indeinde to ingeinge both endings developed the same form and today, at least in most textbooks, these forms are seen as participles, though gerund would make more sense, as such forms are parallel to German
- Wir gingen zum Jagen - literallyWir gingen zum Jagen—literally: "We went to the hunting".
Later this prefix was no longer used except in some dialects and in poetry where an archaic effect is sought.