Skip to content
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

Paste the yanked text with "0p does no work #2554

Closed
gibbok opened this issue Apr 20, 2018 · 3 comments · Fixed by #3087
Closed

Paste the yanked text with "0p does no work #2554

gibbok opened this issue Apr 20, 2018 · 3 comments · Fixed by #3087

Comments

@gibbok
Copy link

gibbok commented Apr 20, 2018

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

BUG REPORT

What happened:
The vim default behavior for "0p does no work in vscodevim:

  • 1 Yank the text you want to copy with y[motion] - this text is saved in " and 0 registers
  • 2 Delete the text you want to replace with d[motion] - this text is saved in " register
  • 3 Paste the yanked text with "0p

What did you expect to happen:

  • at step 3. item yanked should be pasted

Environment:
Win

  • Extension (VsCodeVim) version:
  • VSCode version: 1.23.0
  • OS version: Win 10
@dalingrin
Copy link

I have the same issue

@acicovic
Copy link

acicovic commented Sep 3, 2018

The problem seems to appear when you cut text (using a dd or similar command). This issue should be marked as critical, as it could result in data loss in certain scenarios. @Chillee, any chance that this could be looked into ? I saw that you had responded to a similar issue.

@jkillian
Copy link
Contributor

jkillian commented Oct 3, 2018

I believe this should be fixed by my PR #3087 once it merges

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants