Yank needs to grab initial newline, the char cursor is on.
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
**Is this a BUG REPORT
Steps:
Top Line, yank from following blank line.
Text to yank "y/^$\n"
Past while on this line "p"
Result:
Top Line, yank from following blank line.
Text to yank "y/^$\n"
Past while on this line "p"
Text to yank "y/^$\n"
Expected result:
Top Line, yank from following blank line.
Text to yank "y/^$\n"
Past while on this line "p"
Text to yank "y/^$\n"
- Extension (VsCodeVim) version: 0.12.0
- VSCode version: 1.23.1-1525968397
- OS version: Debian GNU/Linux 9.4 (stretch)
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.
Research direction
Reproduce the yank and paste sequence in VSCodeVim 0.12.0 on the reported VSCode setup, then trace the yank handling from the relevant keybinding entry point. Done means pasting after the blank line preserves that initial newline, matching the expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100