Skip to main content
2 of 9
Typos
jomuller
  • 221
  • 2
  • 8

How to pass Level 6 "function DoInigo" in vim-adventures?

Problem

In vim-adventures, I've almost finished level 6 but I can reach the puzzle function DoInigo(). I tried this maybe 100 times and for the moment I miss it for 2 keystrokes.

vim-adventures level 6

My actuals moves

I start on the line with the text "what's up" and then have 25 keystrokes to do the job.

  • (1) E to move to the "!",
  • (2) l to go to the blanck character
  • (3) D to delete the end of the line
  • (4) 0 to go back at the begining of the line
  • (5-7) j j j to be on the line "Mrs.". For the moment I don't have the rigth to use 3j.
  • (8) w to be at the begining of the word "Mrs. "
  • (9-10) dW to delete the word "Mrs. "
  • (11) j to go the the next line
  • (12-13) dd to delete the line
  • (14-15) j j to go to the line "You skilled"
  • (16-17) w w to go at the beginning of the word "skilled"
  • (18) x to delete the "s"
  • (19-20) e e to go on the end of "my" to be just up to the Y of "DYE"
  • (21) j to be on the Y of "DYE"
  • (22-23) rI to change the Y in I
  • (24) j to go to the final line to delete... and no more keystroke to spent!
  • (25) ^ to be just before the word "Stop"

End of level 6, deadlocked

I need two extra moves to finish it : l and D but I can't figure out how to save up these moves before.

Leads

  • Maybe I forgot to release somewhere the function to use the numbers and do something like 3j but I did't find it.
  • There is two keys I didn't used : ~ and X but can't see how they should be useful here

Any idea?

jomuller
  • 221
  • 2
  • 8