One to Ten
Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2
Start file
End file
1 2 3 4 5 6 7 8 9 10
View Diff
1c1,10 < --- > 1 > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > 10
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 668 remaining solutions by signing in and submitting your own entry
#669 Alexandre Gomes / @alexgomesdev - Score: 67 - 02/12/19 @ 12:50
:put(<BS> range=(1,10)<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>0<CR>:0put = <BS>range(1,10)<CR><Esc>jdd<Esc>:wq<CR>
0 comments
Created by: @tpenguinltg Tweet
669 active golfers, 2209 entries
Leaderboard (lowest score wins):
#22 - πππππππ πππ’πππππ / @TitouanT_
01/31/2019 at 10:24PM