How do i assign a direction to a key, though?

Say i wanted the "G" key to make toonB strafe right, what do i need to do?