add key support c-mod and python-mode at the same time