Use Snippets settings in CotEditor to define preset texts to insert with a command or by dropping a file onto the editor.
To change these settings in the CotEditor app
on your Mac, choose CotEditor > Settings, then click Snippets.
| Option | Description |
|---|---|
| Command definitions | Define the snippet insertion command. The commands defined here is assigned to the Text > Insert Snippet menu.
|
| Insertion formart | Set the text to be inserted with the command selected in the command definition list above.
|
| Option | Description |
|---|---|
| File drop definitions | Define the conditions to perform the file drop. When files are dropped directly into the editor and the conditions defined here are fulfilled, the text that matches the files can be inserted at the drop location.
|
| Insertion formart | Set the text to be inserted for the condition that is selected in the file drop definition list above.
|