Arqade Asked by Felice on April 29, 2021
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 ‘tTfF’ and ‘;’ and ‘,’ buttons, however I am still stuck.
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.
Answered by Alex Robinson on April 29, 2021
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.
Answered by Xinzhe Ma on April 29, 2021
As said above; using ft,; but.... you cannot complete the puzzle on the first attempt.
Answered by frozenjim on April 29, 2021
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, then x
to delete it;j
down to second line;;
to repeat the search forwards for x, then x
to delete it;j
down to third line;,
to repeat the search backwards for x, then x
to delete it;j
down to fourth line, already on the x so x
to delete it;;
to repeat the search forwards for x, and x
to delete it.Happy Vim Adventuring!
Answered by m_mlvx on April 29, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP