In the CotEditor app
on your Mac, use Snippets settings to manage text that you can insert using commands or by dropping files onto the editor.
To change these settings, choose CotEditor > Settings, then click Snippets.
| Option | Description |
|---|---|
| Command definitions | Define commands for inserting snippets. These commands appear in the Text > Insert Snippet menu. Use the Add (+) and Delete (-) buttons below the list to manage definitions.
|
| Insertion format | Set the text to insert when the selected command is applied. You can use variables in the insertion format. These variables specify the relationship between the insertion point and the inserted text. See Create insertion formats for command snippets for details about each variable. |
| Option | Description |
|---|---|
| File drop definitions | Define how File Drop inserts text when files are dropped into the editor. When files are dropped into the editor and the defined conditions are met, CotEditor inserts the corresponding text at the drop location. Use the Add (+) and Delete (-) buttons below the list to manage definitions.
|
| Insertion format | Set the text to insert when the selected File Drop rule is applied. You can use variables in the insertion format. These variables are replaced with information from the dropped file. See Create insertion formats for File Drop for details about each variable. |
| Restore Defaults | Restore the File Drop definitions list to its default settings. |