I'm trying to tie <C-return>. I tried global-set-key, but it did not work. Then I found a sentence in “ globally override key bindings in Emacs ”, where someone created a custom minor mode that included their key bindings, for example:
(define-key my-keys-minor-mode-map (kbd "<C-return>") 'insert-and-indent-line-above)
A bit will not replace the current binding anyway. If I do describe-keyand click C-Return, he informs me that he is attached to cua-set-rectangle-mark.
How do I make this binding replace all other bindings?
source
share