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

Highlight the visual selection when surrounding in visual selection / range #278

Closed
asmodeus812 opened this issue Nov 10, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@asmodeus812
Copy link

When we have selected a visual block, and we press the binding for visual, the visual selection highlight is lost, i would expect the nvim surround highlight group to be applied on the last visually selected range, and maybe have cancel the operation (and the highlight) altogether. Reason being, at the moment there is no way to tell that we are in surround 'mode' after initiating surround with the visual keybind.

@asmodeus812 asmodeus812 added the enhancement New feature or request label Nov 10, 2023
@kylechui
Copy link
Owner

Hi @asmodeus812 is this still an issue? For me the highlight persists after hitting S.

Related: #299 #312 #315

@kylechui
Copy link
Owner

Actually I'll close this in favor of the other issue, since it has a bit more information for me to work with; feel free to add any comments there.

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

No branches or pull requests

2 participants