I am switching from Aquamacs to Emacs on OSX v28.2 and trying to setup my preferred key bindings. I set
'(ns-alternate-modifier 'alt)
'(ns-command-modifier 'meta)
'(ns-control-modifier 'control)
'(ns-function-modifier 'none)
'(ns-right-alternate-modifier 'none)
'(ns-right-command-modifier 'hyper)
'(ns-right-control-modifier 'super)
Then tried setting
(global-set-key (kbd "M-v") 'cua-paste)
But no matter what I try M-v (cmd-v on Mac) always shows the following when enter F1-k M-v
M-v runs the command delete-selection-repeat-replace-region (found in
cua--cua-keys-keymap), which is an interactive byte-compiled Lisp
function in ‘delsel.el’.
It is bound to M-v.
My other bindings are working fine, just not M-v
(global-set-key (kbd "M-x") 'clipboard-kill-region)
(global-set-key "\M-c" 'cua-copy-region)
(global-set-key (kbd "M-v") 'cua-paste)
(global-set-key (kbd "M-z") 'undo)
(global-set-key (kbd "M-s") 'save-buffer)
(global-set-key (kbd "M-w") 'kill-buffer)