qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.61k stars 218 forks source link

drag splits to resize buffers is very sensitive, cursor should change over drag locations #1051

Open mmerickel opened 3 months ago

mmerickel commented 3 months ago

When splitting buffers via :vsplit and :split it's not currently possible to drag the split itself to resize the buffers so I have to resort to the vim commands <c-w> +/-, etc to adjust things. In MacVim I've been able to do this directly with the mouse cursor. Attached a quick video of this working in MacVim.

https://github.com/qvacua/vimr/assets/487237/b17ebbad-0ea9-441f-af43-65e138153c62

mmerickel commented 3 months ago

Apparently this actually works and I just wasn't dragging the right part of the split every time I tried - it's very sensitive. Re-titling this issue to request that the cursor changes over the drag locations. Thanks!

There is also a slight pixel offset issue, the drag location in the terminal is slightly to the right of the drag location in vimr. With vimr I have to select slightly to the left of the actual split to get it to work.