Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 5c9f6f52e73f87000c1548f8

Triangular Numbers

Generate the first 50 triangular numbers.

Start file
0
End file
0 1 3 6 10 15 21 28 36 45 55 66 78 91 105 120 136 153 171 190 210 231 253 276 300 325 351 378 406 435 465 496 528 561 595 630 666 703 741 780 820 861 903 946 990 1035 1081 1128 1176 1225

View Diff

1c1
< 0
---
> 0 1 3 6 10 15 21 28 36 45 55 66 78 91 105 120 136 153 171 190 210 231 253 276 300 325 351 378 406 435 465 496 528 561 595 630 666 703 741 780 820 861 903 946 990 1035 1081 1128 1176 1225

Solutions by @alythobani:

Unlock 6 remaining solutions by signing in and submitting your own entry
Created by: @dstein64

29 active golfers, 104 entries

Solutions by @alythobani:
18
#18 - Aly Thobani / @alythobani

05/31/2024 at 05:20PM

21
#>22 - Aly Thobani / @alythobani

05/31/2024 at 05:20PM

22
#>25 - Aly Thobani / @alythobani

05/31/2024 at 05:19PM

28
#>26 - Aly Thobani / @alythobani

05/31/2024 at 05:18PM

31
#>27 - Aly Thobani / @alythobani

05/31/2024 at 05:17PM

32
#>27 - Aly Thobani / @alythobani

05/31/2024 at 06:52AM