Neovim: `:normal A{chars}` doesn't work well in CRLF files
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
- Click thumbs-up 👍 on this issue if you want it!
- Click confused 😕 on this issue if not having it makes VSCodeVim unusable.
The VSCodeVim team prioritizes issues based on reaction count.
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Environment:
- VSCode Version: 1.12.2
- VsCodeVim Version: 0.8.4
- OS: Windows 10 1703
What happened:
When I execute the ex command "norm A;" in a CRLF file, the ";" will be appended to the next line, but not the current line. If I set file.eol to LF, then it works fine.
What did you expect to happen:
";" should be appened to the end of current line
How to reproduce it:
execute "norm A;"
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 issue in a CRLF file using the ex command norm A;, then compare it with the same command when file.eol is set to LF. Trace the :normal command entry point and line-ending handling; done means ; is appended to the current line in both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100