gnvim icon indicating copy to clipboard operation
gnvim copied to clipboard

Added support for drag and drop (files and text)

Open Amjad50 opened this issue 5 years ago • 2 comments

This commit tries to replicate how GVim handles drop events for files and text.

added:

  • When text is dropped, it will pasted to the current buffer and cursor (nvim_paste).
  • When files are dropped when cmdline is closed, they will be opened using :edit or :split (split if the current buffer is modified).
  • When files are dropped when cmdline is opened, the names will be added into the cmdline buffer

Note: not sure why Cargo.lock changed to much, only added urlencoding. Its just that the checksum values changed place.

What do you think @vhakulinen ?

Amjad50 avatar Nov 01 '20 19:11 Amjad50

Hi. I'm a bit busy with life atm and don't have the time/energy to work on gnvim currently. Drag & drop is definitely a feature that gnvim should have and I really appreciate the work you've done here. But this will have to wait from my site for a while.

Again, I really appreciate the work you've done here.

vhakulinen avatar Nov 08 '20 10:11 vhakulinen

Is there any plan to work on this? I would appreciate this feature very much.

fidelski avatar Jul 14 '22 07:07 fidelski

Deprecated.

Gnvim was rewritten from ground up for gtk4.

vhakulinen avatar Nov 27 '22 11:11 vhakulinen