mwh/dragon

Bidirectional drag-and-drop

jtrakk opened this issue · 1 comments

I have dragon on a keyboard shortcut in my terminal, and dragon --target on another shortcut. But I would rather have just one shortcut. Is it possible to have one command that supports drag-and-drop in both directions?

mwh commented

I thought it might be possible to do this with --target --keep, but that won't let you provide filenames to populate it with initially (it will let you drag in and out). This would be a good feature.

It looks like the most straightforward way to add it would be just to process the filename arguments as usual when --target is used instead of ignoring them, which seems like it ought to work.

Potentially a "shelf" mode to have each button be removed after a single outbound drag would be useful too.