For example, I'm trying to bind command-h to
(setq mac-command-modifier 'super) (define-key key-minor-mode-map (kbd "s-h") 'replace-string)
This didn't work. So I tried binding it as hyper:
(define-hyper-key "h" 'replace-string)
but that didn't work either.
Changing other keybindings does seem to work (
This may be related: How to bind "Hide Others" to a key "M-s-h" in railwaycat/emacs-mac-port?
replace-string works on Emacs for Mac OSX, but on Emacs Mac Port, it just hides/minimizes the application window. Do keybindings work differently in Emacs Mac Port than they do on Emacs for Mac OSX? Are some keybindings hardcoded in to Emacs Mac Port, and if so, how can I override them?
Update: Looks like others are having the same issue. https://github.com/railwaycat/emacs-mac-port/issues/78