Uso un script de shell como este:
defaults write -g NSUserKeyEquivalents '{
"Show in Finder"="[email protected]";
"Reveal"="[email protected]";
"Use Selection for Find"="@e";
"Find and Replace..."="[email protected]";
"Find Next"="@g";
"Find Previous"="[email protected]";
"Line Spacing..."="[email protected]";
"Zoom Reset"="@0";
"Original Size"="@0";
"Actual Size"="@0";
"Automatically Resize"="@9";
"Automatic Fit"="@9";
"Zoom to Fit"="@9";
"Enter Full Screen"="^@f";
"Exit Full Screen"="^@f";
"Enter Full Screen Mode"="^@f";
"Exit Full Screen Mode"="^@f";
"Toggle Full Screen"="^@f";
"Full Screen"="^@f";
"Fullscreen"="^@f";
"Normal Screen"="^@f";
"Remove Full Screen"="^@f";
"Select Previous Tab"="[email protected]\UF702";
"Previous Tab"="[email protected]\UF702";
"Show Previous Tab"="[email protected]\UF702";
"Previous Workspace"="[email protected]\UF702";
"Select Previous Tab View"="[email protected]\UF702";
"Select Next Tab"="[email protected]\UF703";
"Next Tab"="[email protected]\UF703";
"Show Next Tab"="[email protected]\UF703";
"Next Workspace"="[email protected]\UF703";
"Select Next Tab View"="[email protected]\UF703";
"Shift Left"="^\UF702";
"Decrease Indent Level"="^\UF702";
"Decrease Paragraph Indent"="^\UF702";
"Decrease Level"="^\UF702";
"Shift Right"="^\UF703";
"Increase Indent Level"="^\UF703";
"Increase Paragraph Indent"="^\UF703";
"Increase Level"="^\UF703";
"Shift Up"="^\UF700";
"Move Line Up"="^\UF700";
"Shift Down"="^\UF701";
"Move Line Down"="^\UF701";
"Minimize"="\U200B";
"Minimize All"="\U200B";
}'
defaults write com.apple.finder NSUserKeyEquivalents '{
"Show Package Contents"="@\r";
}'
defaults write -app iTerm NSUserKeyEquivalents '{
"Select Pane Above"="@\UF700";
"Select Pane Below"="@\UF701";
"Previous Pane"="@\UF702";
"Next Pane"="@\UF703";
"Open Autocomplete..."="@;";
}'
defaults write -app Safari NSUserKeyEquivalents '{
"Reopen Last Closed Window"="[email protected]";
"Reopen All Windows from Last Session"="[email protected]";
"Mail Contents of This Page"="\U200B";
}'
defaults write -app Sequential NSUserKeyEquivalents '{
"Move to Trash"="\b";
}'
defaults write -app Skim NSUserKeyEquivalents '{
"Single Page Continuous"="[email protected]";
"Single Page"="[email protected]";
"Two Pages"="[email protected]";
"Crop"="@k";
}'
defaults write -app Transmit NSUserKeyEquivalents '{
"Show Invisible Files"="[email protected]";
"Hide Invisible Files"="[email protected]";
"Synchronize..."="[email protected]";
}'
defaults write -app WriteRoom NSUserKeyEquivalents '{
"Column 40"="[email protected]";
"Column 50"="[email protected]";
"Column 60"="[email protected]";
"Column 66"="[email protected]";
"Column 80"="[email protected]";
"Column 90"="[email protected]";
"Column 120"="[email protected]";
"Column 200"="[email protected]";
"Column Window Width"="[email protected]";
"Enter Full Screen Single"="^@f";
"Exit Full Screen Single"="^@f";
"Enter Full Screen"="[email protected]";
"Exit Full Screen"="[email protected]";
}'
Las cadenas de acceso directo utilizan el mismo formato que en DefaultKeyBinding.dict , pero eliminar es \U0008
( \b
) y la eliminación hacia adelante es \U007F
.
Puede deshabilitar un acceso directo asignando el elemento de menú a algo como \U200B
(ESPACIO DE ANCHO CERO). nil
se activará cuando escriba n
en algunas aplicaciones como Audacity.
se activará cuando presione cualquier tecla en Safari en 10.9. defaults -app
se activará cuando presione la tecla de inicio.
defaults find NSUserKeyEquivalents
no funciona con algunas aplicaciones como Finder o Notes.
%code% muestra la configuración actual.