Align commas
There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.
Start file
just = make, all, the, commas, line, up
End file
just = make , all , the , commas, line , up
View Diff
Hope you're all doing well. Goal is 11. Tweet me a shoutout if you read View Diff.
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 245 remaining solutions by signing in and submitting your own entry
#246 Jon Barson / @jbarson - Score: 77 - 04/22/16 @ 19:10
<Esc>:%s/,/<Tab>,/g<CR><Esc>:<Esc><Up><Right><Right><Right><Right><Right><Right>x<Up>x<Up>x<Up>xuuuuuuuuuuu<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>i <Left><Left><Left><Down> <Left><Left><Left><Down> <Down><Left><Down><Left> <Esc>ZZ
0 comments