Create switch_console_text.py

Just configured my keymap to switch between TEXT_EDITOR and CONSOLE using SHIIFT+ESC hotkey 

http://wiki.blender.org/index.php/Doc:2.6/Manual/Preferences/Input#Keymap_editor

This addon will put together the necessary bits to make this happen.