I am trying to bind <C-return>
. I tried global-set-key
but it didn't work. I then found a suggestion in "Globally override key binding in Emacs" where someone created a custom minor-mode which included their keybindings, like this:
(define-key my-keys-minor-mode-map (kbd "<C-return>") 'insert-and-indent-line-above)
Bit it still won't replace the current binding. If I do a describe-key
and press C-Return
it tells me that it is bound to cua-set-rectangle-mark
.
How do I make this binding supersede all other bindings?