add command binding for clear and clear-history