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

Unexpected behavior of paste when it has auto suggestion suffix #86

Closed
jeffreytse opened this issue Apr 5, 2021 · 0 comments
Closed
Assignees
Labels
bug Something isn't working verified This issue was already verified

Comments

@jeffreytse
Copy link
Owner

Reproduce

  • Open a new terminal.
  • Input below content .
abcde
12345
  • Press <Enter> to execute it.
  • Re-input content abc (here we will get the auto suggestion suffix that first time we input).
  • Enter normal mode and move backward the cursor to a.
  • Press cw (or yw, de, yk, etc).
  • Press p

Result

The content becomes:

abcde

Expected behavior

The paste content should be abc, not including the auto suggestion partial, which is as below:

abc
@jeffreytse jeffreytse added bug Something isn't working verified This issue was already verified labels Apr 5, 2021
@jeffreytse jeffreytse self-assigned this Apr 5, 2021
jeffreytse added a commit that referenced this issue Apr 6, 2021
Use `cw` or `yw`, `de`, `yk` and so on should not contain the auto
suggestion suffix.
jeffreytse added a commit that referenced this issue Apr 6, 2021
Use `cw` or `yw`, `de`, `yk` and so on should not contain the auto
suggestion suffix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working verified This issue was already verified
Projects
None yet
Development

No branches or pull requests

1 participant