Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bidirectional drag-and-drop #23

Open
jtrakk opened this issue Nov 21, 2020 · 1 comment
Open

Bidirectional drag-and-drop #23

jtrakk opened this issue Nov 21, 2020 · 1 comment

Comments

@jtrakk
Copy link

jtrakk commented Nov 21, 2020

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
Copy link
Owner

mwh commented Nov 22, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants