作者:liaojiawei | 来源:互联网 | 2023-07-22 13:36
lisp(defunmac-switch-metanilswitchmetabetweenOptionandCommand(interactive)(if(eqmac-option
lisp
(defun mac-switch-meta nil
"switch meta between Option and Command"
(interactive)
(if (eq mac-option-modifier nil)
(progn
(setq mac-option-modifier 'meta)
(setq mac-command-modifier 'hyper)
)
(progn
(setq mac-option-modifier nil)
(setq mac-command-modifier 'meta)
)
)
)