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 the Key Bindings settings 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 the Snippets settings, not in Key Bindings.

CotEditor script

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

You can’t assign shortcuts that are already in use (for example, shortcuts assigned to scripts or menu items that don’t appear in the list). If the same shortcut is assigned to multiple commands, only one of those commands is performed.

See also