Customize keyboard shortcuts in CotEditor on Mac

You can fully customize keyboard shortcuts for various commands in CotEditor.

The methods to change shortcuts depend on the type of command:

TypeDescription
Menu command

Keyboard shortcuts for standard menu commands appear in the menu. Go to Key Bindings settings to change shortcuts for existing menu commands.

Some menu commands provided by the system can’t be customized in CotEditor. For more information about customizing standard shortcuts for Mac apps, see Apple’s documentation: Create keyboard shortcuts for apps on Mac

Snippet insertion

Keyboard shortcuts for commands that insert a snippet (preset text). These commands also appear in the menu, but their shortcuts are set in Snippets settings, not in Key Bindings.

CotEditor script

Keyboard shortcuts to execute your CotEditor scripts. Add a specific character combination to the script filename to define a keyboard shortcut. For details, see Customize Script menu.

CotEditor prevents you from assigning shortcuts that are already in use where it can detect conflicts. However, conflicts can still occur with shortcuts defined outside the list, such as scripts or menu items that don’t appear there. If the same shortcut is assigned to multiple commands, only one of them is performed.

See also