Problem
In vim-adventures, I've almost finished level 6 but I didn't find how to resolve the puzzle function doInigo(). I tried this maybe 100 times and for the moment I miss it for 2 keystrokesone keystroke.
My current 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 blank character
- (3) D to delete the end of the line
- (4) 0 to go back at the beginning of the line
- (5-76) j j j to be on the line "Mrs." on the "I" of Inigo. For the moment I don't have the right to use 3j.
- (87) wB to be at the begining of the word "Mrs. "
- (98-109) dW to delete the word "Mrs. "
- (1110) j to go the the next line
- (1211-1312) dd to delete the line
- (1413-1514) j j to go to the line "You skilled"
- (1615-1716) w w to go at the beginning of the word "skilled"
- (1817) x to delete the "s"
- (1918-2019) e e to go on the end of "my" to be just up to the Y of "DYE"
- (2120) j to be on the Y of DYE
- (2221-2322) rI to change the Y in I
- (2423) j to go to the final line to delete... and no more keystroke to spent!
- (2524) ^ to be just before the word Stop on the closing curly brackets }
- (25) l to be on at the beginning of the word Stop
I need twoone extra movesmovs to finish it : l and D but I can't figure out how to save up thesethis moves before.
Actual keyboard
On the picture below are the actual keys I'm allowed to use.
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?