Comand k previous commands

It would be useful if command k could have memory of previous commands simillar to the the cmd line. Up and down arrow to choose from past commands. Often when i refactor I am using similar commands over and over. (Edit it already exists and I somehow missed it)



I cant believe I missed that. Thanks