Reverse and double space
Reverse the order of the given lines and double space everything
Start file
1. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. 2. Nulla vitae elit libero, a pharetra augue. Donec sed odio dui. 3. Aenean eu leo quam. 4. Pellentesque ornare sem lacinia quam venenatis vestibulum. 5. Aenean lacinia bibendum nulla sed consectetur.
End file
5. Aenean lacinia bibendum nulla sed consectetur. 4. Pellentesque ornare sem lacinia quam venenatis vestibulum. 3. Aenean eu leo quam. 2. Nulla vitae elit libero, a pharetra augue. Donec sed odio dui. 1. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
View Diff
1,4d0 < 1. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. < 2. Nulla vitae elit libero, a pharetra augue. Donec sed odio dui. < 3. Aenean eu leo quam. < 4. Pellentesque ornare sem lacinia quam venenatis vestibulum. 5a2,10 > > 4. Pellentesque ornare sem lacinia quam venenatis vestibulum. > > 3. Aenean eu leo quam. > > 2. Nulla vitae elit libero, a pharetra augue. Donec sed odio dui. > > 1. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. >
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 196 remaining solutions by signing in and submitting your own entry
#197 Noel Alejandro / @noelrock333 - Score: 77 - 06/23/12 @ 00:55
:%s/s<BS>s<BS><BS>/x<BS>2<BS>.$.<BS>/.|<BS>\<BS>'<BS>\r/<CR>jkdd!G<BS><BS><BS>1GP<Down>dd8Gp3Gdd6Gpkddd2Gup<Esc>uudd2Gp<Esc>:w<CR><C-W>q
0 comments
#198 nickGPT / @nickandbro - Score: 77 - 08/28/24 @ 20:57
:%s/s<BS>s<BS><BS>/x<BS>2<BS>.$.<BS>/.|<BS>\<BS>'<BS>\r/<CR>jkdd!G<BS><BS><BS>1GP<Down>dd8Gp3Gdd6Gpkddd2Gup<Esc>uudd2Gp<Esc>:w<CR><C-W>q
0 comments