Key Rebinding help me please

i have the menu up and running and everything is in place but how would i get a key to be Rebound to an action

for instance lets say i wanted to rebind the Jump action to the J key and unbind the action from the spacebar. How would i do this

Any help appreciated