I am stuck on level 7 :Removing x's from the sentence

I am stuck on a puzzle on level 7 where the player needs to remove the x's from the sentence.
fx will find forward,
t will go txill,
; wixll repeat them,
, rexverse the dexal "
I only have 12 key presses to pass, but I never can complete it. I get to the last step when I have 0 chances left. I believe in this exercise I should use 't\T\f\F' and ';' and ',' buttons, however I am still stuck.
Best Answer
Searches made using f
and t
are remembered across different blocks of text in the game (and across buffers in vim), so you can use ;
and ,
on the first line using the saved search from your previous attempt to save one keystroke.
Pictures about "I am stuck on level 7 :Removing x's from the sentence"



I am stuck on level 7
More answers regarding i am stuck on level 7 :Removing x's from the sentence
Answer 2
In order to finish this puzzle, you need to collect the f, ; and , keys. Note that when you bump into bushes, you sometimes find things - either keyboard shortcuts or people.
You should go back to the Alice text at the beginning of the level (the long one) and go through all the bushes. There are a lot of things to find. It will also make traversing the text a lot easier.
One more thing, if you're still missing one keystroke to finish this text after you collect everything, remember that ; and , repeat the last search within the line, even if it was not performed on the current text.
Answer 3
As said above; using ft,; but.... you cannot complete the puzzle on the first attempt.
Answer 4
Since a list of the precise keystrokes is requested, I've just confirmed this works. Spoilers below.
This puzzle can be done with two passes. First pass:
j
to enter the puzzle; 0
to get to the beginning of the first line; fx
to search for x, which stores it in the search memory. Now press [esc]
twice to quit the first pass.
Second pass:
j
to enter the puzzle;,
to search backwards for the x, thenx
to delete it;j
down to second line;;
to repeat the search forwards for x, thenx
to delete it;j
down to third line;,
to repeat the search backwards for x, thenx
to delete it;j
down to fourth line, already on the x sox
to delete it;- finally,
;
to repeat the search forwards for x, andx
to delete it.
Happy Vim Adventuring!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Enoch Patro, Daria Shevtsova, Tim Samuel, Ahmed akacha