Old English her "in this place, where one puts himself; at this time, toward this place," from Proto-Germanic pronominal stem *hi- (from PIE *ki- "this;" see he) + adverbial suffix -r. Cognate with Old Saxon her, Old Norse, Gothic her, Swedish här, Middle Dutch, Dutch hier, Old High German hiar, German hier.
As the answer to a call, in Old English. Right here "on the spot" is from c. 1200. Here and there "in various places" is from c. 1300. Phrase here today and gone tomorrow first recorded 1680s in writings of Aphra Behn. Here's to _____ as a toast is from 1590s, probably short for here's health to _____. Emphatic this here (adv.) is attested from mid-15c.; colloquially, this here as an adjective is attested from 1762. To be neither here nor there "of no consequence" is attested from 1580s. Here we go again as a sort of verbal rolling of the eyes is attested from 1950.
As a noun, "this place, the present" from c. 1600. Noun phrase here-and-now "this present life" is from 1829.
Old English of, unstressed form of æf (prep., adv.) "away, away from," from Proto-Germanic *af (source also of Old Norse af, Old Frisian af, of "of," Dutch af "off, down," German ab "off, from, down"), from PIE root *apo- "off, away."
The primary sense in Old English still was "away," but it shifted in Middle English with use of the word to translate Latin de, ex, and especially Old French de, which had come to be the substitute for the genitive case. "Of shares with another word of the same length, as, the evil glory of being accessory to more crimes against grammar than any other." [Fowler]
Also by 1837 of in print could be a non-standard or dialectal representation of have as pronounced in unstressed positions (could of, must of, etc.)