Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getregion() versus selection.vim #72

Open
Konfekt opened this issue Sep 9, 2024 · 1 comment
Open

getregion() versus selection.vim #72

Konfekt opened this issue Sep 9, 2024 · 1 comment

Comments

@Konfekt
Copy link
Contributor

Konfekt commented Sep 9, 2024

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
Copy link
Contributor Author

Konfekt commented Sep 9, 2024

See also vim/vim#15327 regarding a check in command-line whether the last selection was line-wise or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant