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 54180e031079d30002383ee5

vim1001

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

Start file
1001
End file
vim1001
vim1005
vim1011
vim1015
vim1021
vim1025
vim1031
vim1035
vim1041
vim1045

View Diff

1c1,10
< 1001
---
> vim1001
> vim1005
> vim1011
> vim1015
> vim1021
> vim1025
> vim1031
> vim1035
> vim1041
> vim1045

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 72 remaining solutions by signing in and submitting your own entry
#73 vim doof / vimdoof - Score: 26 - 10/07/14 @ 16:05
qqYp4<C-A>Yp6<C-A>q4@qdd<C-V>ggIvim<Esc>ZZ

0 comments

#74 Gerald Tilma / GeraldTilma - Score: 26 - 10/21/15 @ 02:43
ivim<Esc>Yp4<C-A>qqykjp10<C-A>j.q3@qZZ

0 comments

#75 barak happy / barakhaviv - Score: 26 - 06/29/16 @ 14:26
qqYp4<C-A>Yp6<C-A>q4@qdd<C-V>ggIvim<Esc>ZZ

0 comments

#76 RobertT / techrt2050 - Score: 27 - 09/17/14 @ 14:49
Ivim<Esc>qqyyp4<C-A>yyp6<C-A>q4@qdd<C-Z><C-Z>ZZ

0 comments

#77 Matt Richards / _tthew - Score: 27 - 09/19/14 @ 13:28
<Esc>ivim<Esc>Yp4<C-A>qqykjp10<C-A>j.q3@qZZ

0 comments

#78 Omid Houshyar / ohoushyar - Score: 27 - 09/22/14 @ 10:13
ivim<Esc>yyp4<C-A>qqkyyjp10<C-A>q7@q:x<CR>

0 comments

#79 simonced / simonced - Score: 27 - 09/27/14 @ 13:30
ivim<Esc>Yp4<C-A>qqk2Yjp10<C-A>j.q3@qZZ

0 comments

#80 Guillaume ALAUX / megalaux - Score: 29 - 09/28/14 @ 21:49
ivim<Esc>Yp4<C-A>qqVkyjp10<C-A>j10<C-A>q3@qZZ

0 comments

#81 Dmitry Teslenko / krab_mozga - Score: 30 - 09/23/14 @ 08:06
ivim<Esc>yyp4<C-A>kqqy2yjp10<C-A>j.kq3@qZZ

0 comments

#82 Carlos López / morrizon - Score: 31 - 09/16/14 @ 11:55
ivim<Esc>qqYp$r5qqaYp$x<C-A>A1<Esc>@qq3@aZZ

0 comments

#83 Glauco Pires / grpires - Score: 31 - 11/25/14 @ 19:45
ivim<Esc>Yp$4<C-A>qqk2Yjp$10<C-A>j10<C-A>q3@qZZ

0 comments

#84 j00b00 / j00b00 - Score: 36 - 09/19/14 @ 00:29
qqyyp<C-A><C-A><C-A><C-A>yyp<C-A><C-A><C-A><C-A><C-A><C-A>q4@qdd:%s/^/vim<CR>ZZ

0 comments

#85 kungfuchad / kungfuchad - Score: 39 - 11/19/14 @ 19:52
ivim<Esc>Yp$r5yk4P3G5lr1j.jr2j.jr3j.jr4j.ZZ

0 comments

#86 Matti Sairanen / MattiSairanen - Score: 41 - 07/14/17 @ 11:38
ivim<Esc>yyPj4<C-A>k2yyG4p$hr1j.jr2j.jr3j.jr4j.ZZ

0 comments

#87 AC / quadface - Score: 42 - 10/03/14 @ 19:39
ivim<Esc>yyp$r5VkyGpu4p$hr1j.jr2j.jr3j.jr4j.ZZ

0 comments

#88 Oliver Christ / 0liverChrist - Score: 47 - 09/19/14 @ 13:14
yyp4<C-A>Vky4P<C-V>GIvim<Esc>jj<End>hR1<Down><Left>1<Down><Left>2<Down><Left>2<Down><Left>3<Down><Left>3<Down><Left>4<Down><Left>4<Esc>ZZ

0 comments

#89 bluehat / b1u3h4t - Score: 61 - 09/17/14 @ 15:37
iVIM<BS><BS><BS>vim<Esc>yy9p$r52j.2j.2j.2j.blllllr4k.kkr3j.kkr2k.kr2r1k.ZZ

0 comments

#90 luffy / raxcoi - Score: 67 - 01/26/15 @ 14:36
ivim<Esc>yy4p:%s/00/p<BS>\=printf('0%d',pr<BS><BS>line('.')-1)<CR>ggqqyyp$r5jq4@qZZ

0 comments

Created by: kentyuan

90 active golfers, 208 entries

Leaderboard (lowest score wins):
17
#1 - Urtica dioica / udioica

03/30/2016 at 11:03AM

19
#2 - John Braxler / braxler

10/14/2015 at 03:48PM

20
#3 - Jon Krause / jkrause314

03/05/2016 at 10:04PM

21
#4 - Kai Yuan / kentyuan

09/16/2014 at 01:48PM

21
#5 - Michael Comerford / MComerford1

09/16/2014 at 06:16PM

21
#6 - John Meisner / jmeisned

09/16/2014 at 08:43PM

21
#7 - Kerson Hsiao / KersonHsiao

09/17/2014 at 12:12PM

21
#8 - Mattias Fransson / azzidoos

09/17/2014 at 08:16PM

21
#9 - Caek / Caek_

09/18/2014 at 02:45AM

21
#10 - Petro Тrouq / zulolosi

09/18/2014 at 05:29AM

21
#11 - Cumhur Korkut ⊨Joomy / cumhurkorkut

09/18/2014 at 06:54PM

21
#12 - Bart / oneofmanybarts

09/19/2014 at 07:48AM

21
#13 - preston / mstrdarcy

09/19/2014 at 07:00PM

21
#14 - julesferreira / julesferreira

09/19/2014 at 08:50PM

21
#15 - Aaron Fresh / AaronFresh7

09/19/2014 at 09:04PM

21
#16 - Charles H. Leggett / cleggett

09/20/2014 at 01:55AM

21
#17 - Bill Booth / ohiopyle

09/21/2014 at 06:23AM

21
#18 - Alexandre Ignjatovic / bankair

09/21/2014 at 09:28AM

21
#19 - Jakob / jajob

09/22/2014 at 05:45PM

21
#20 - Daniel Burnett / mango_cheetah

10/10/2014 at 01:02AM

21
#21 - Ivan Brennan / ivanbrennan

12/07/2014 at 01:28AM

21
#22 - Jake Eskel / JakeEskel

12/31/2014 at 05:33AM

21
#23 - ~Nicolas_Poulain / nicolaspoulain

01/29/2015 at 10:22PM

21
#24 - pftb12345 / pftb12345

04/04/2015 at 12:29PM

21
#25 - Adrian Krehl / akrehl

06/30/2015 at 02:03PM

21
#26 - Lifepillar / lifepillar

07/05/2015 at 03:58PM

21
#27 - Joey / joeyism101

09/11/2015 at 01:27AM

21
#28 - Walker Boh / walker_boh

10/13/2015 at 08:47AM

21
#29 - John Finn / johnvfinn7

02/22/2016 at 09:37AM

21
#30 - Dimitar Dimitrov / kurkale6ka

03/23/2016 at 01:56PM

21
#31 - Louis Burke / LambdaABeta

06/10/2016 at 10:49PM

21
#32 - Martin Tõnusoo / martintonusoo

08/27/2016 at 11:44PM

21
#33 - Daniel / Daniel00288663

04/03/2017 at 01:42PM

22
#34 - Karol Katerżawa / CharlieQbx

11/04/2014 at 09:26AM

23
#35 - Eduardo / earada

09/16/2014 at 10:28AM

23
#36 - Kristof Vannotten / kristofv

09/16/2014 at 10:51AM

23
#37 - Eric Potter / pottereric

09/16/2014 at 11:43AM

23
#38 - Tim Chase / gumnos

09/16/2014 at 01:22PM

23
#39 - Patrick Oscity / der_padde

09/16/2014 at 02:28PM

23
#40 - Zapata / Incredible_JFP

09/17/2014 at 01:06PM

23
#41 - James / Dronak

09/18/2014 at 12:17PM

23
#42 - Adv_Zxy / adv_zxy

09/18/2014 at 12:39PM

23
#43 - Nimrod / n1mr0d

09/19/2014 at 09:27PM

23
#44 - Mundi / MarcusMundi

09/21/2014 at 05:45PM

23
#45 - Bob Davison / bobd91

09/22/2014 at 11:59PM

23
#46 - Dario Avitabile / tutticapaci

09/23/2014 at 10:59AM

23
#47 - Lluís Mª Bosch / LluisMa

10/02/2014 at 01:38AM

23
#48 - JForstreuter / JForstr

10/06/2014 at 02:07PM

23
#49 - Dmitry Astapenko / dmitree

10/13/2014 at 08:17AM

23
#50 - Ah B / ccxzyc

11/02/2014 at 07:33AM

23
#51 - Matt Robbins / mcrmfc

11/04/2014 at 01:43PM

23
#52 - w1zeman1p / wizemanip

11/12/2014 at 04:19AM

23
#53 - Matthew / mpruszczyk

12/10/2014 at 08:22PM

23
#54 - Elizabeth / sprinkles418

12/17/2014 at 10:40PM

23
#55 - Carlos A Henríquez Q / lagunex

01/18/2015 at 02:26PM

23
#56 - mark0829 / mark0829

02/03/2015 at 04:46AM

23
#57 - xieyh11 / xieyh11

02/28/2015 at 09:36AM

23
#58 - .さとうにるぽ引退.swp / nillpo

11/21/2015 at 04:51PM

23
#59 - Cristian Lupașcu / clupasq

02/20/2016 at 10:17AM

23
#60 - Gurukandhamoorthi / Gurukandhamoor1

08/01/2017 at 03:10PM

24
#61 - Enrico Carlesso / carlesso

09/17/2014 at 03:54PM

24
#62 - David Mauskop / mauskop

11/15/2015 at 04:58PM

25
#63 - mnx / mnxx

09/16/2014 at 01:19PM

25
#64 - Sabiki94@ブルスクの人 / _jptomoya

10/17/2014 at 01:43PM

25
#65 - eBrnd / eBrnd

11/02/2014 at 02:27PM

25
#66 - Matthieu Crapet / mcr05

11/10/2014 at 11:16AM

25
#67 - Will / obiwan__k3n00bi

10/17/2016 at 06:37AM

26
#68 - Bambu / bambumandinga

09/16/2014 at 11:26AM

26
#69 - Guillaume Seren / guillaumeseren

09/16/2014 at 02:13PM

26
#70 - Stephen Crosby / stevecrozz

09/18/2014 at 06:08PM

26
#71 - compiled wrong / compiledwrong

09/19/2014 at 12:24AM

26
#72 - Chaitanya Desu / ChaituNu

09/21/2014 at 01:18AM

26
#73 - vim doof / vimdoof

10/07/2014 at 04:05PM

26
#74 - Gerald Tilma / GeraldTilma

10/21/2015 at 02:43AM

26
#75 - barak happy / barakhaviv

06/29/2016 at 02:26PM

27
#76 - RobertT / techrt2050

09/17/2014 at 02:49PM

27
#77 - Matt Richards / _tthew

09/19/2014 at 01:28PM

27
#78 - Omid Houshyar / ohoushyar

09/22/2014 at 10:13AM

27
#79 - simonced / simonced

09/27/2014 at 01:30PM

29
#80 - Guillaume ALAUX / megalaux

09/28/2014 at 09:49PM

30
#81 - Dmitry Teslenko / krab_mozga

09/23/2014 at 08:06AM

31
#82 - Carlos López / morrizon

09/16/2014 at 11:55AM

31
#83 - Glauco Pires / grpires

11/25/2014 at 07:45PM

36
#84 - j00b00 / j00b00

09/19/2014 at 12:29AM

39
#85 - kungfuchad / kungfuchad

11/19/2014 at 07:52PM

41
#86 - Matti Sairanen / MattiSairanen

07/14/2017 at 11:38AM

42
#87 - AC / quadface

10/03/2014 at 07:39PM

47
#88 - Oliver Christ / 0liverChrist

09/19/2014 at 01:14PM

61
#89 - bluehat / b1u3h4t

09/17/2014 at 03:37PM

67
#90 - luffy / raxcoi

01/26/2015 at 02:36PM