Vim-Adventures in level 7
By Sarah Richards
In Vim-Adventures, I'm trying to delete several lines in the same time, but I don't even know how to to that.
In the following video, they use d% to remove this line, but it doesn't work for me.
Thanks in advance!
11 Answer
I love this game! Thanks for an excuse to play it again.
To remove the 3 lines within the 5 keystroke limit, you need either the % key or the G key.
- Enter the puzzle on the
iinif. - Use
$to get to the end of the line. - Use
%to move to the matching}tile, which is down two lines. - Use
jto move down into theelse {line. - Use
d%ordGto delete the 3 red lines.
Or:
- Enter on the
iinif. - Use
Gto move to the last line. - Use
kkto move up two lines. - Use
dGord%to delete the specified text.
Happy Vimming!
2