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

Cartesian product

{1,2,3,4,5} X {1,2,3,4,5}

Start file

End file
1 1
1 2
1 3
1 4
1 5
2 1
2 2
2 3
2 4
2 5
3 1
3 2
3 3
3 4
3 5
4 1
4 2
4 3
4 4
4 5
5 1
5 2
5 3
5 4
5 5

View Diff

1c1,25
< 
---
> 1 1
> 1 2
> 1 3
> 1 4
> 1 5
> 2 1
> 2 2
> 2 3
> 2 4
> 2 5
> 3 1
> 3 2
> 3 3
> 3 4
> 3 5
> 4 1
> 4 2
> 4 3
> 4 4
> 4 5
> 5 1
> 5 2
> 5 3
> 5 4
> 5 5

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 93 remaining solutions by signing in and submitting your own entry
#94 Bruce Park / @bpark0 - Score: 170 - 07/07/13 @ 03:13
1i1<CR><BS> 1<CR>1 2<CR>1 3<CR>1 4<CR>15<BS> 5<CR>2 1<CR>2 2<CR>2 3<CR>2 4<CR>25<BS> 5<CR>3 1<CR>2 <BS><BS>3 2<CR>3 3<CR>3 4<CR>3 5<CR>4 1<CR>4 2<CR>4 3<CR>4 4<CR>4 5<CR>5 1 <BS><CR>5 2<CR>53<BS> 3<CR>5 4 <BS><CR>5 5<C-Z><BS><C-X><Esc><Right><Left><Right>:quit<CR><C-X>5<Up><Down><Down><Down><Down><Down><Down><Esc><Up><Down>5<Up><Down><Down><Down><Down><Down>o5<BS><BS><BS>5<C-X><C-X>:wq<CR><BS><BS><BS><BS><Esc>:wq<CR>

0 comments


Created by: @kylewillmon

94 active golfers, 248 entries

Leaderboard (lowest score wins):
35
#61 - RaylanFox / @RaylanFox

04/18/2020 at 03:06PM

36
#62 - Karel Vervaeke / @karel1980

01/04/2011 at 09:57AM

36
#63 - Asmund / @herrasbe

01/04/2011 at 04:16PM

36
#64 - Danny O'Sullivan / @db0s

01/05/2011 at 09:05AM

36
#65 - shahanavaz m / @shahanavazm

01/30/2024 at 03:49AM

37
#66 - h_east (トロッコ6個) / @h_east

01/04/2011 at 09:17AM

37
#67 - Glenn / @spamcow_moo

01/04/2011 at 07:45PM

37
#68 - Mohammad-Javad Izadi / @mjizadi

01/05/2011 at 01:28PM

37
#69 - Nick / @quinks25

01/11/2011 at 12:28AM

37
#70 - Przemysław Pawełczyk / @przemoc86

01/15/2011 at 09:29PM

37
#71 - sitaktif / @sitaktif

01/17/2011 at 09:09PM

38
#72 - Pete Johns / @johnsyweb

01/09/2011 at 04:53AM

38
#73 - Andrey A. Ugolnik / @andreyugolnik

01/19/2011 at 08:04PM

38
#74 - Black Wolf / @LoboVimGolf

06/17/2011 at 04:43PM

38
#75 - Vim rocks / @vimrocks

10/11/2012 at 09:27AM

38
#76 - Trevor Powell / @DoomedBunnies

03/21/2013 at 12:13AM

38
#77 - A / @Tower_1980

07/29/2013 at 01:25PM

38
#78 - James / @Dronak

09/05/2013 at 09:32PM

39
#79 - Renat Aksitov / @Korvin79

02/01/2012 at 09:28AM

44
#80 - drio / @drio

01/16/2011 at 05:06PM

44
#81 - Alex / @AlexanderHeatl2

07/01/2022 at 05:37PM

45
#82 - dw jdder / @dwjdder

01/11/2011 at 03:43PM

47
#83 - Toto l'haricot / @nico_le_terribl

11/07/2013 at 12:45PM

49
#84 - Avinash Baliga / @avinashbaliga

03/28/2011 at 04:11AM

50
#85 - RockerZZY / @rocker_zzy

06/08/2020 at 02:43AM

53
#86 - sorami / @boredoms

04/30/2011 at 11:11PM

57
#87 - Christopher Brew / @Seph1rothVII

01/12/2012 at 08:56PM

58
#88 - じょんあば / @john_ababa

02/24/2012 at 10:23AM

61
#89 - foo / @foo88832727

10/19/2013 at 01:53PM

72
#90 - Francisco Dibar / @frandibar

01/11/2011 at 05:12AM