Text block yank with `vip` and pasting behave differently from vim/neovim
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
When one copies a block of text selected using vip and then pastes it with p, the behavior presented by vscodevim is different from vim and neovim. On vim, the block will be pasted in the line below the current highlighted one while using vscodevim the block is pasted in the same line. The screencasts below show the issue in a more clear way.
To Reproduce
Steps to reproduce the behavior:
Neovim

VscodeVim

Expected behavior
VscodeVim to behave the same way as Vim.
Screenshots
See screencasts above
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.17.1
- VSCode version: 1.51.1
- OS: Linux x64 5.4.0-48-generic
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-10T23:31:29.624Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
Additional context
N/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
Start by reproducing the vip then p sequence in VSCodeVim and compare it with the Vim and Neovim screencasts linked in the issue. Done means the selected text block is pasted on the line below the highlighted line, matching Vim behavior.
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
- 35/100