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 with easymotion and . as repeat command #2310

Closed
jtr109 opened this issue Jan 18, 2018 · 5 comments
Closed

Unexpected behavior with easymotion and . as repeat command #2310

jtr109 opened this issue Jan 18, 2018 · 5 comments
Labels

Comments

@jtr109
Copy link

jtr109 commented Jan 18, 2018

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

BUG REPORT

What happened:

When I use . to repeat the change behavior after I changed a word with ciw and use <leader><leader>w to easymotion to another word, all keyboard behavior not work. (By the way, I think the command has been send to vscode because of the blink of cursor freezing for a while.)

What did you expect to happen:

The repeat command . should not store the behavior of easymotion and just repeat the behavior before.

How to reproduce it (as minimally and precisely as possible):

<div>test</div>

Put your cursor on the first div and change it into span with ciw in normal mode. Then use easymotion to move the cursor to div in the end tag. Then press .. The end tag will not change as expection. And now, the cursor cannot be moved with hjkl and input also not work.

Environment:

  • Extension (VsCodeVim) version: 0.10.10
  • VSCode version: 1.19.2
  • OS version: macOS High Sierra Version 10.13.2 (17C88)
@clessg
Copy link

clessg commented Mar 30, 2018

I'm also experiencing this bug.

@diminutivesloop
Copy link

This is still an issue.

@xconverge
Copy link
Member

fixed in #3112

@xconverge
Copy link
Member

FYI, unrelated but @jtr109 have you tried using the surround functionality? you could have done cst<span> in your example

@jtr109
Copy link
Author

jtr109 commented Oct 8, 2018

@xconverge Thanks a lot. I will have a try!

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

No branches or pull requests

4 participants