Add keybindings for python mode, fixes #4