Redefine your builtin MacOS default keyboard shortcuts using Karabiner-Elements. Binding two specific keybindings to vk_none resulting in effectively disabling the named keybinding.
In Karabiner-Elements the vk_none
keycode means virtualkeyboard none.
Use it when you want to disable any existing keybinding, or perhaps as some boilerplate for your not yet implemented keybindings.
This demo shows you how to disable the application switcher (command+tab), and/or application quit (command+q) keybinding. Nothing fancy about this config at all, but I have some ideas on how to improve this.
I will update this gist as I update my local configuration.
重写了两份配置,现在在用。
https://pastebin.com/0DtNnMd6
https://pastebin.com/J8DHuawd