Open alexherbo2 opened 3 years ago
I don't think there's a standard way to indicate a drag-and-drop event to a terminal. When I drag and drop a file from GNOME Files into GNOME Terminal, it just inserts the absolute file path (shell-quoted) as though I'd typed it. So, that's the behaviour we're stuck with.
Maybe there's an extension that some terminals use (Kitty?), with a consensus about what the behaviour should be. Haven't checked or tried, @alexherbo2 will have to look it up.
From a GUI application, such as a file manager, to Kakoune:
Example
Open Dolphin, drag a file and drop it in a Kakoune window to open in the client.
For the opposite direction, I was looking for something like macOS — Dragging and dropping from the Terminal to GUI applications.