Vim-adventures on level 7 emptyStr = "xx xx";
By Daniel Rodriguez •
In earlier versions of vim-adventures I saw that the Puzzle was emptyStr = "xxxxx" which could be solved with either fx -> dw or fx -> de. However nowadays it seems to be a little different emptyStr = "xx xx", which brings me to my question/problem:
How can I delete xx xx inside the quotes " as it is not one word anymore, with my given keystrokes shown in the pictures below?
Either I am missing something here or this might be a BUG...
1 Answer
Basically you can use the d command with any {motion}, see vim reference .
*d*
["x]d{motion} Delete text that {motion} moves over...And a motion is explained here and can be w, b, 4j or t etc.
Hint
use
tin combination
Solution
complete solution is
fx -> dt"
So it is definitely not a BUG as mentioned earlier.
3