I am able to bind M + RET with:
(define-key my-keys-mode-map (kbd "<M-RET>") 'my-function)
How can I bind C + RET with the above format?
I have tried:
kbd "<C-RET>"
kbd "C-<RET>"
kbd "C-RET"
But none of these work.
If it is impossible with define-key
and kbd
, is there another way to bind C + RET in the mode my-keys-mode-map
?