vim-crunch icon indicating copy to clipboard operation
vim-crunch copied to clipboard

getregion() versus selection.vim

Open Konfekt opened this issue 1 year ago • 1 comments

In view of help getregion() on recent Vim, is the dependency on https://github.com/arecarn/selection.vim on those dispensable? There's the CursorMoved event to check for a selection mode that is not linewise if vim-crunch is fired by a command, but likely vim-crunch is used by mappings?

Konfekt avatar Sep 09 '24 10:09 Konfekt

See also https://github.com/vim/vim/issues/15327 regarding a check in command-line whether the last selection was line-wise or not.

Konfekt avatar Sep 09 '24 10:09 Konfekt