-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
va" and ya" includes spaces and tabs before quote #6800
Comments
Actually, this is expected behavior. From
However, in Vim you can achieve the behavior you want by mapping |
This is what I did to get this working, if any one comes across this.
|
That is how
|
Describe the bug
When quoted (" or ') content is prepended with spaces or tabs, visual select (
va"
,va'
) and yank (ya"
,ya'
) would incorrectly includes the spaces or tabs.To Reproduce
Steps to reproduce the behavior:
echo " \"quoted after spaces\"\n\t'quoted after tab'" > test.txt
code test.txt
va"
,va'
,ya"
orya'
Expected behavior
Visual select (or yank) the content (include the quotes), but exclude spaces or tabs before the quote.
Screenshots
![image](https://user-images.githubusercontent.com/65853605/123550207-21b1bb80-d79f-11eb-9a1b-c3af04f994a2.png)
The text was updated successfully, but these errors were encountered: