Software Bleg

I type a lot of link code, and HTML in general. Is anyone aware of any Windows software (or even a Firefox extension) that allows programmable hot keys, so that I could do <blockquote> or <a href=”” target=””> with a single (or dual) keystroke? It would help a lot with my incipient carpal tunnel problems.