Reorder the groups
Change the order so that the groups of fruit come before the vegetables.
Start file
# vegetable broccoli spinach carrot - # fruit peach plum - # vegetable potato - # fruit apple banana - # vegetable onion - # fruit watermelon cherry -
End file
# fruit peach plum - # fruit apple banana - # fruit watermelon cherry - # vegetable broccoli spinach carrot - # vegetable potato - # vegetable onion -
View Diff
1,5d0 < # vegetable < broccoli < spinach < carrot < - 10,12d4 < # vegetable < potato < - 17,19d8 < # vegetable < onion < - 22a12,22 > - > # vegetable > broccoli > spinach > carrot > - > # vegetable > potato > - > # vegetable > onion
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 263 remaining solutions by signing in and submitting your own entry
#264 Zestv / @fuesii - Score: 137 - 03/04/20 @ 08:10
<Down><Down><Down><Down><Down><Down><Down><Down>ov<BS><Esc>v<Up><Up><Up><Up>d<Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Left>v<Down><Down><Down><Right>d<Up><Up><Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>v<Down><Down><Down><Right>d<Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down>i#<Right><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><BS><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><Down><BS><Esc>:x<CR>
0 comments