daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
716 stars 57 forks source link

Use mouse to make visual selection #90

Closed jgosmann closed 6 years ago

jgosmann commented 6 years ago

In gvim the mouse can be used to make a visual selection. It would be nice if this worked in nvim-gtk too. At the moment clicking and dragging will move the cursor, but does not create a visual selection.

wezm commented 6 years ago

NeovimGtk works as you describe for me. I'm using a recent master version on Arch Linux. What platform are you using?

peek 2018-04-20 09-45

kirillrdy commented 6 years ago

@wezm thanks for the animation, however I can confirm that I have same issue, this is latest master, xorg, FreeBSD-12, Gnome-3.28 if this helps

jgosmann commented 6 years ago

Latest master as well (b44799bef7), on Chakra Linux (originally based on Arch I believe). I'm running NeovimGtk under KDE with gtk versions:

Could there be an interaction with Vim plugins causing this?

Let me know if I can provide any other helpful information.

edubxb commented 6 years ago

Same problem here, with the last master (just compiled) on Debian with GNOME 3.28.1 (Wayland) and the following versions:

daa84 commented 6 years ago

try set mouse=a in config

jgosmann commented 6 years ago

That fixes it for me. :)

edubxb commented 6 years ago

Fixed!