I was trying to bind (C-M-x)
to er/expand-region
but I checked the key combination with (C-h k)
and noticed that it was binded to eval-defun
. So I tried to unbind it with any of the following commands:
(global-set-key (kbd "C-M-x") nil)
(global-unset-key (kbd "C-M-x"))
But even using any of those won't unbind the key and (C-M-x)
still will be running eval-defun
This is the result after running both commands: