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):
31
#1 - Urtica dioica / @udioica

10/12/2016 at 08:25PM

31
#2 - John Braxler / @braxler

09/28/2018 at 03:00PM

31
#3 - Martin Delille / @martinodelilo

09/01/2019 at 06:53PM

31
#4 - Peppa Pig / @PeppaPigSg

07/03/2024 at 08:10AM

31
#5 - Berel94 / @Berel94

10/12/2024 at 10:33PM

33
#6 - Jon Krause / @jkrause314

01/23/2016 at 09:38PM

41
#7 - mevmev / @mevmev8

09/18/2021 at 10:39PM

42
#8 - Kerson Hsiao / @KersonHsiao

08/20/2012 at 05:09AM

42
#9 - Conner McDaniel / @connermcd

10/30/2012 at 04:41PM

42
#10 - Petro Тrouq / @zulolosi

05/08/2013 at 07:05PM

44
#11 - RockerZZY / @rocker_zzy

08/28/2020 at 01:56AM

49
#12 - John Anderson / @opejn

12/24/2011 at 01:02AM

49
#13 - Tim Chase / @gumnos

01/03/2012 at 04:07PM

49
#14 - Abdel Said / @abdelsaid

04/07/2012 at 04:20PM

49
#15 - Benoit Mortgat / @Benoit_Mortgat

06/06/2012 at 08:40PM

50
#16 - You-Siang Lin / @yslinnctu

11/29/2011 at 02:49AM

50
#17 - Jaime A. Sánchez / @jashbeta

12/21/2011 at 09:30PM

51
#18 - not so punk :] / @notsopunk

06/19/2011 at 07:34AM

51
#19 - Justin Love / @wondible

09/18/2011 at 10:20PM

52
#20 - xhtmlforum / @xhtmlforum

05/26/2011 at 08:53AM

52
#21 - Steve Morrow / @yawmark

05/26/2011 at 01:54PM

52
#22 - Junfeng / @junfeng

08/05/2011 at 10:33AM

52
#23 - derp derp / @derp__

01/02/2012 at 06:23PM

53
#24 - Utkarsh Kukreti / @utkarshkukreti

05/26/2011 at 10:46PM

61
#25 - vimja / @vimja666

11/01/2011 at 12:33AM

64
#26 - bmamax / @bmamax

01/14/2012 at 02:08PM

64
#27 - Eric Andres / @eric_m_andres

12/05/2012 at 05:34PM

65
#28 - Timur Celik / @clktmr

12/21/2018 at 09:56PM

68
#29 - Jomo / @yoyoyojomo

03/14/2012 at 08:34AM

70
#30 - Ingo / @ist3fani

08/07/2013 at 03:25PM