mawww / kakoune

mawww's experiment for a better code editor
http://kakoune.org
The Unlicense
9.97k stars 714 forks source link

Drag and drop support #3928

Open alexherbo2 opened 3 years ago

alexherbo2 commented 3 years ago

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.

Screwtapello commented 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.

lenormf commented 3 years ago

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.