Create a text command that prints something such as this, bind it to a key and activate it through the keybinding.
def run(self, view, args):
Using the latest beta everything usually works fine, but sometimes I get a crash with message "Assertion failed in .\text\text_buffer.cpp:390:m_constructionDepth == 0". Looks like this happens always if I have focus set to the text buffer in the console. It works fine if another view (or input field in console) is focused.