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):
21
#31 - Jake Eskel / @JakeEskel

12/31/2014 at 05:33AM

21
#32 - ~Nicolas_Poulain / @nicolaspoulain

01/29/2015 at 10:22PM

21
#33 - pftb12345 / @pftb12345

04/04/2015 at 12:29PM

21
#34 - Adrian Krehl / @akrehl

06/30/2015 at 02:03PM

21
#35 - Lifepillar / @lifepillar

07/05/2015 at 03:58PM

21
#36 - Joey / @joeyism101

09/11/2015 at 01:27AM

21
#37 - Walker Boh / @walker_boh

10/13/2015 at 08:47AM

21
#38 - John Finn / @johnvfinn7

02/22/2016 at 09:37AM

21
#39 - Dimitar Dimitrov / @kurkale6ka

03/23/2016 at 01:56PM

21
#40 - Louis Burke / @LambdaABeta

06/10/2016 at 10:49PM

21
#41 - Martin Tõnusoo / @martintonusoo

08/27/2016 at 11:44PM

21
#42 - Daniel / @Daniel00288663

04/03/2017 at 01:42PM

21
#43 - blabla zincou / @BZincou

04/22/2022 at 10:19PM

22
#44 - Karol Katerżawa / @CharlieQbx

11/04/2014 at 09:26AM

22
#45 - spock900 / @spock9002

08/25/2019 at 02:21AM

23
#46 - Eduardo / @earada

09/16/2014 at 10:28AM

23
#47 - Kristof / @kristofv

09/16/2014 at 10:51AM

23
#48 - Eric Potter / @pottereric

09/16/2014 at 11:43AM

23
#49 - Tim Chase / @gumnos

09/16/2014 at 01:22PM

23
#50 - Patrick Oscity / @der_padde

09/16/2014 at 02:28PM

23
#51 - Zapata / @Incredible_JFP

09/17/2014 at 01:06PM

23
#52 - James / @Dronak

09/18/2014 at 12:17PM

23
#53 - Adv_Zxy / @adv_zxy

09/18/2014 at 12:39PM

23
#54 - Nimrod / @n1mr0d

09/19/2014 at 09:27PM

23
#55 - Mundi / @MarcusMundi

09/21/2014 at 05:45PM

23
#56 - Bob Davison / @bobd91

09/22/2014 at 11:59PM

23
#57 - Dario Avitabile / @tutticapaci

09/23/2014 at 10:59AM

23
#58 - Lluís Mª Bosch / @holalluis

10/02/2014 at 01:38AM

23
#59 - JForstreuter / @JForstr

10/06/2014 at 02:07PM

23
#60 - Dmitry Astapenko / @dmitree

10/13/2014 at 08:17AM