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 4dddc7c1ed7380000100000d

Multiplication table.

Create a multiplication table.

Start file
1
End file
1   2   3   4   5   6   7   8   9   10
2   4   6   8   10  12  14  16  18  20
3   6   9   12  15  18  21  24  27  30
4   8   12  16  20  24  28  32  36  40
5   10  15  20  25  30  35  40  45  50
6   12  18  24  30  36  42  48  54  60  
7   14  21  28  35  42  49  56  63  70
8   16  24  32  40  48  56  64  72  80
9   18  27  36  45  54  63  72  81  90
10  20  30  40  50  60  70  80  90  100

View Diff

1c1,10
< 1
---
> 1   2   3   4   5   6   7   8   9   10
> 2   4   6   8   10  12  14  16  18  20
> 3   6   9   12  15  18  21  24  27  30
> 4   8   12  16  20  24  28  32  36  40
> 5   10  15  20  25  30  35  40  45  50
> 6   12  18  24  30  36  42  48  54  60  
> 7   14  21  28  35  42  49  56  63  70
> 8   16  24  32  40  48  56  64  72  80
> 9   18  27  36  45  54  63  72  81  90
> 10  20  30  40  50  60  70  80  90  100

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 67 remaining solutions by signing in and submitting your own entry
#68 DayuanX / @DayuanX - Score: 404 - 10/09/24 @ 10:42
a<BS><50-53>1   2   3   4   5   6   7   8   9   10<CR>2   4   6   8   10  12  14  16  18  20<CR>3   6   9   12  15  18  21  24  27  30<CR>4   8   12  16  20  24  28  32  36  40<CR>5   10  15  20  25  30  35  40  45  50<CR>6   12  18  24  30  36  42  48  54  60  <CR>7   14  21  28  35  42  49  56  63  70<CR>8   16  24  32  40  48  56  64  72  80<CR>9   18  27  36  45  54  63  72  81  90<CR>10  20  30  40  50  60  70  80  90  100<Esc>[201~<Esc>ZZ

0 comments


Created by: @connermcd

68 active golfers, 232 entries

Leaderboard (lowest score wins):
147
#61 - KoroneListener / @KoroneListener

09/04/2024 at 08:57AM

148
#62 - Joey Geralnik / @jgeralnik

12/20/2011 at 01:45PM

162
#63 - Dan Masquelier / @danmasq

07/01/2011 at 08:22AM

203
#64 - Robert Robotter / @robrob12

05/26/2011 at 09:07AM

310
#65 - Arton0306 / @Arton0306

12/18/2011 at 01:15PM

395
#66 - Ben Sherman / @bensherman

10/18/2011 at 11:51PM

395
#67 - nickGPT / @nickandbro

08/28/2024 at 10:43PM

404
#68 - DayuanX / @DayuanX

10/09/2024 at 10:42AM