microsoft / microsoft/vscode-extension-samples
vim vg0, vg^ and vg$ should include the character at the end of the line in the selection
Open
@sandy081 is already working on this.
Since Jul 27, 2016.
bug
editor
VIM
- Dominant language
- TypeScript
- Stars
- 10.2k
- Forks
- 3.9k
- PR merge metrics
- No merged PRs in 30d
Description
From @Tyriar on July 26, 2016 17:26
- VSCode Version: Code - Insiders 1.4.0-insider (fc167f86c1aee27951b7d4b4db51229f62d0a0ad, 2016-07-26T05:12:44.554Z)
- OS Version: Linux x64 4.4.0-28-generic, Ubuntu 16.04
#9699
Not sure if this is an extension, sample extension or API issue?
Steps to Reproduce:
- Open a file
- Go to a line with content
- end
- Type
vg0, notice the character at the end is not included in the selection (unlike when runningvim)

And
- Go to beginning
0 - Type
vg$, notice that character at the end is not included
And
- Go to beginning
0 - Type
vg_, notice that non white space character at the end is included, BUT, cursor position is on next character
Copied from original issue: Microsoft/vscode#9802
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.