lloydsparkes / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Drag on Drop files or folders #440

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be awesome to support the drag&drop of files/folders as is it aleady 
supported for path paste. 

The idea is to send a command to the terminal in the case of a Drag&Drop event 
. It would be nice to detect which program is currently running on the terminal 
and send the appropriate command that can be registred in .minttyrc

For instance we could have this configuration

# <program>,<file/folder>,<wildcard>,<command>
DropAction=vim,file,*,'<esc>:e $0<cr>'
DropAction=bash,file,'*.m,octave -i --persist $0<cr>'
DropAction=bash,folder,,'cd $0<cr>'

Original issue reported on code.google.com by canard...@gmail.com on 30 Jan 2015 at 8:42