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

include snippets in visual selection #979

Closed
ColinRyan opened this issue Apr 26, 2018 · 1 comment
Closed

include snippets in visual selection #979

ColinRyan opened this issue Apr 26, 2018 · 1 comment

Comments

@ColinRyan
Copy link

I'd like to be able to run the command: [v]
and visually select everything input by my a snippet + everything I type out manually.

Expected behavior:
run the command [v] and the snippet + everything we type out manually

Actual behavior:
only the input we've typed is selected

Steps to reproduce
enter insert mode, use a snippet, type a little, exit insert mode, run the command: [v]
see that it doesn't select the text input by the snippet

@SirVer
Copy link
Owner

SirVer commented Dec 14, 2019

I think it is questionable if a snippet expansion should still count to the current edit you do vs if it should be an edit on its own. Right now it is the latter.

However, even if one would decide that it should be folded together with your own typing, this is fairly hard to implement.

At this point I consider this a feature request and a not very popular one and tend to not think it is worthwhile trying to implement this. Thanks for the suggestion!

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

No branches or pull requests

2 participants