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 106 remaining solutions by signing in and submitting your own entry
#107 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

107 active golfers, 275 entries

Leaderboard (lowest score wins):
23
#61 - CJ Avilla / @cjav_dev

11/12/2014 at 04:19AM

23
#62 - Matthew / @mpruszczyk

12/10/2014 at 08:22PM

23
#63 - Elizabeth / @sprinkles418

12/17/2014 at 10:40PM

23
#64 - Carlos A Henríquez Q / @lagunex

01/18/2015 at 02:26PM

23
#65 - mark0829 / @mark0829

02/03/2015 at 04:46AM

23
#66 - xieyh11 / @xieyh11

02/28/2015 at 09:36AM

23
#67 - ぷりケツにるぽ / @nillpo

11/21/2015 at 04:51PM

23
#68 - Cristian Lupașcu / @clupasq

02/20/2016 at 10:17AM

23
#69 - Gurukandhamoorthi / @Gurukandhamoor1

08/01/2017 at 03:10PM

23
#70 - Tuure / @tuure_p

05/17/2021 at 07:56PM

23
#71 - quemeraisc / @quemeraisc

06/02/2022 at 09:39AM

23
#72 - Olivier Bégassat / @zk_evm

06/14/2023 at 10:31PM

24
#73 - Enrico Carlesso / @carlesso

09/17/2014 at 03:54PM

24
#74 - David Mauskop / @mauskop

11/15/2015 at 04:58PM

25
#75 - mnx / @mnxx

09/16/2014 at 01:19PM

25
#76 - jptomoya / @_jptomoya

10/17/2014 at 01:43PM

25
#77 - eBrnd / @eBrnd

11/02/2014 at 02:27PM

25
#78 - Matt / @mcr05

11/10/2014 at 11:16AM

25
#79 - Will / @obiwan__k3n00bi

10/17/2016 at 06:37AM

26
#80 - Bambu / @bambumandinga

09/16/2014 at 11:26AM

26
#81 - Guillaume Seren / @guillaumeseren

09/16/2014 at 02:13PM

26
#82 - Stephen Crosby / @stevecrozz

09/18/2014 at 06:08PM

26
#83 - compiled wrong / @compiledwrong

09/19/2014 at 12:24AM

26
#84 - Chaitanya Desu / @ChaituNu

09/21/2014 at 01:18AM

26
#85 - vim doof / @vimdoof

10/07/2014 at 04:05PM

26
#86 - Gerald Tilma / @GeraldTilma

10/21/2015 at 02:43AM

26
#87 - barak happy / @barakhaviv

06/29/2016 at 02:26PM

27
#88 - RobertT / @techrt2050

09/17/2014 at 02:49PM

27
#89 - Matt Richards / @_tthew

09/19/2014 at 01:28PM

27
#90 - Omid Houshyar / @ohoushyar

09/22/2014 at 10:13AM