I would like to handle a drag & drop event of a file into gvim in order to insert the file name into the buffer I am dropping it. This should happen only when such file is an image, e.g.
Instead of the default behavior of opening after dropping the file I want to paste the file name only if I detect it is an image.
I have already checked
:help autocmd-events-abc but there was nothing related to drag and drop functionality or event associated to it. Is it written anywhere else?
I already know that
ftdetect directory is used to detect the filetypes depending on the file extension, among other possibilities.