I'm trying to setup some keybinds using functions from the python-x package. While it works for the simple call (global-set-key (kbd "C-c C-j") 'python-shell-send-line), when I try to chain multiple functions using the lambda trick I get <C-return> is undefined despite having no error at startup. Here is the command I put in the user-config in .spacemacs :
(global-set-key (kbd "C-RET") (lambda () (interactive) (python-shell-send-line) (next-line)))
python-x works with python mode but the simple keybind is available everywhere while the chained keybinds are all undefined. Where does it go wrong ?
python-xit'sC-c C-p, do you know if I can do that in user-config ? – ChiseledAbs Jan 03 '17 at 17:15RETand<return>. – Tianxiang Xiong Jan 04 '17 at 17:47