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

110 active golfers, 307 entries

Leaderboard (lowest score wins):
23
#61 - Ah B / @ccxzyc

11/02/2014 at 07:33AM

23
#62 - Matt Robbins / @mcrmfc

11/04/2014 at 01:43PM

23
#63 - CJ Avilla / @cjav_dev

11/12/2014 at 04:19AM

23
#64 - Matthew / @mpruszczyk

12/10/2014 at 08:22PM

23
#65 - Elizabeth / @sprinkles418

12/17/2014 at 10:40PM

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

01/18/2015 at 02:26PM

23
#67 - mark0829 / @mark0829

02/03/2015 at 04:46AM

23
#68 - xieyh11 / @xieyh11

02/28/2015 at 09:36AM

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

11/21/2015 at 04:51PM

23
#70 - Cristian Lupașcu / @clupasq

02/20/2016 at 10:17AM

23
#71 - Gurukandhamoorthi / @Gurukandhamoor1

08/01/2017 at 03:10PM

23
#72 - Tuure / @tuure_p

05/17/2021 at 07:56PM

23
#73 - quemeraisc / @quemeraisc

06/02/2022 at 09:39AM

23
#74 - Olivier Bégassat / @zk_evm

06/14/2023 at 10:31PM

24
#75 - Enrico Carlesso / @carlesso

09/17/2014 at 03:54PM

24
#76 - David Mauskop / @mauskop

11/15/2015 at 04:58PM

24
#77 - Knaughty / @Kn4ughty

08/28/2024 at 12:05AM

25
#78 - mnx / @mnxx

09/16/2014 at 01:19PM

25
#79 - jptomoya / @_jptomoya

10/17/2014 at 01:43PM

25
#80 - eBrnd / @eBrnd

11/02/2014 at 02:27PM

25
#81 - Matt / @mcr05

11/10/2014 at 11:16AM

25
#82 - Will / @obiwan__k3n00bi

10/17/2016 at 06:37AM

26
#83 - Bambu / @bambumandinga

09/16/2014 at 11:26AM

26
#84 - Guillaume Seren / @guillaumeseren

09/16/2014 at 02:13PM

26
#85 - Stephen Crosby / @stevecrozz

09/18/2014 at 06:08PM

26
#86 - compiled wrong / @compiledwrong

09/19/2014 at 12:24AM

26
#87 - Chaitanya Desu / @ChaituNu

09/21/2014 at 01:18AM

26
#88 - vim doof / @vimdoof

10/07/2014 at 04:05PM

26
#89 - Gerald Tilma / @GeraldTilma

10/21/2015 at 02:43AM

26
#90 - barak happy / @barakhaviv

06/29/2016 at 02:26PM