Drop files to editor in CotEditor on Mac

File Drop is the feature to insert custom text based on the files dropped to the editor. For example, you can automatically insert the img tag into your HTML document by dropping an image file from the Finder.

Perform File Drop

Drop files to the point to insert in the editor area.

You need to set the rule of the text to be inserted in advance. When no rule for the dropped file is found, the full path of the file is inserted.

Define File Drop

To configure the behavior of File Drop, go to CotEditor > Settings > Snippets > File Drop.

See also