Customize keyboard shortcuts in CotEditor on Mac

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

The method to change shortcuts depends on the type of the command:

Methods to define keyboard shortcuts
TypeDescription
Menu command Keyboard shortcuts for standard menu commands appeared in the menu. Go to the Key Bindings settings in the Settings to change the keyboard shortcut for existing menu commands.
  • Some menu commands provided by the system can not be customized in CotEditor. For details about customizing the standard shortcuts for Cocoa applications, see Apple’s documentation: Create keyboard shortcuts for apps on Mac
Snippet insertion Keyboard shortcuts for commands to insert a user snippet (preset text). The commands inserting snippets appear in the menu too, but the shortcuts to these commands are not set in the Key Bindings settings but in the Snippets settings.
CotEditor script Keyboard shortcuts to execute user’s CotEditor scripts. Include a specific character combination to the script filename to define a keyboard shortcut. See Customize Script menu for details.

You cannot set the shortcuts that have already been taken (for example, shortcuts for your scripts or menu items that don’t appear in the list). When the same shortcut is assigned to multiple commands, it performs only one command among them.

See also