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

Undo command undos insert + replace #375

Closed
rebornix opened this issue Jun 30, 2016 · 3 comments
Closed

Undo command undos insert + replace #375

rebornix opened this issue Jun 30, 2016 · 3 comments

Comments

@rebornix
Copy link
Member

Repro steps:

  1. Create a new file
  2. Insert three lines with the same content abc, then run ESC
  3. Replace all a with d
  4. Run u to undo

Expected: three lines with the same content abc
Actual: Empty

@johnfn
Copy link
Member

johnfn commented Jun 30, 2016

How exactly do you do #3? What keystrokes do you press?

If I do iabc\nabc\nabc<esc>ggrbjrbjrb, undo works as I expect.

@Paxxi
Copy link
Contributor

Paxxi commented Jul 1, 2016

repro

  1. create new file
  2. write "yada yada yada"
  3. use command sequence 0 cw lala<esc>u

expected result: yada yada yada
actual result: yada yada
hitting u again gives the expected yada yada yada

@johnfn johnfn closed this as completed in 56d9587 Jul 3, 2016
@johnfn
Copy link
Member

johnfn commented Jul 3, 2016

@Paxxi I fixed that issue just now.

Not sure if that's the issue you were talking about, @rebornix. Feel free to open another issue if not.

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

No branches or pull requests

3 participants