vscode-emacs-mcx
vscode-emacs-mcx copied to clipboard
Inquiry: How to customize to a special key binding optimized to the Dvorak keyboard layout?
I use a special keyboard with a Dvorak layout in a macOS environment, and have optimized Emacs key bindings for it. I replace "Ctrl" with "Cmd", and, for example, change the key binding of "Ctrl+x Ctrl+s" to "Cmd+q Cmd+o", "Ctrl+x Ctrl+c" to "Cmd+q Cmd+j", etc.
I appreciate it if you kindly tell me how can I entirely change to the special key binding in Awesome Emacs Keymap?
https://github.com/whitphx/vscode-emacs-mcx#emacs-mcxusemetaprefixmaccmd ?
@whitphx Thank you, I will survey and try this.
Thank you again for you kind reply.
Examples of key bindings that I want to customize on VScode can be written in Emacs Lisp as follows:
(setq mac-command-modifier 'control) ;; switch control and command
(global-set-key "\C-q" 'Control-X-prefix)
(global-set-key "\C-j" 'mode-specific-command-prefix)
...
(global-set-key "\C-q\C-o" 'save-buffer)
(global-set-key "\C-q\C-u" 'find-file)
It is happy to me if you kindly tell me what can I do to customize like the above.