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

96 active golfers, 243 entries

Leaderboard (lowest score wins):
21
#31 - Joey / @joeyism101

09/11/2015 at 01:27AM

21
#32 - Walker Boh / @walker_boh

10/13/2015 at 08:47AM

21
#33 - John Finn / @johnvfinn7

02/22/2016 at 09:37AM

21
#34 - Dimitar Dimitrov / @kurkale6ka

03/23/2016 at 01:56PM

21
#35 - Louis Burke / @LambdaABeta

06/10/2016 at 10:49PM

21
#36 - Martin Tõnusoo / @martintonusoo

08/27/2016 at 11:44PM

21
#37 - Daniel / @Daniel00288663

04/03/2017 at 01:42PM

22
#38 - Karol Katerżawa / @CharlieQbx

11/04/2014 at 09:26AM

22
#39 - spock900 / @spock9002

08/25/2019 at 02:21AM

23
#40 - Eduardo / @earada

09/16/2014 at 10:28AM

23
#41 - Kristof Vannotten / @kristofv

09/16/2014 at 10:51AM

23
#42 - Eric Potter / @pottereric

09/16/2014 at 11:43AM

23
#43 - Tim Chase / @gumnos

09/16/2014 at 01:22PM

23
#44 - Patrick Oscity / @der_padde

09/16/2014 at 02:28PM

23
#45 - Zapata / @Incredible_JFP

09/17/2014 at 01:06PM

23
#46 - James / @Dronak

09/18/2014 at 12:17PM

23
#47 - Adv_Zxy / @adv_zxy

09/18/2014 at 12:39PM

23
#48 - Nimrod / @n1mr0d

09/19/2014 at 09:27PM

23
#49 - Mundi / @MarcusMundi

09/21/2014 at 05:45PM

23
#50 - Bob Davison / @bobd91

09/22/2014 at 11:59PM

23
#51 - Dario Avitabile / @tutticapaci

09/23/2014 at 10:59AM

23
#52 - Lluís Mª Bosch / @LluisMa

10/02/2014 at 01:38AM

23
#53 - JForstreuter / @JForstr

10/06/2014 at 02:07PM

23
#54 - Dmitry Astapenko / @dmitree

10/13/2014 at 08:17AM

23
#55 - Ah B / @ccxzyc

11/02/2014 at 07:33AM

23
#56 - Matt Robbins / @mcrmfc

11/04/2014 at 01:43PM

23
#57 - w1zeman1p / @wizemanip

11/12/2014 at 04:19AM

23
#58 - Matthew / @mpruszczyk

12/10/2014 at 08:22PM

23
#59 - Elizabeth / @sprinkles418

12/17/2014 at 10:40PM

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

01/18/2015 at 02:26PM