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 4d716c76919202611400002b

Numbering a List

Pretty simple, number the list.

Start file
line one
line two
line three
line four
line five
line six
line seven
line eight
End file
1. line one
2. line two
3. line three
4. line four
5. line five
6. line six
7. line seven
8. line eight

View Diff

1,8c1,8
< line one
< line two
< line three
< line four
< line five
< line six
< line seven
< line eight
---
> 1. line one
> 2. line two
> 3. line three
> 4. line four
> 5. line five
> 6. line six
> 7. line seven
> 8. line eight

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 572 remaining solutions by signing in and submitting your own entry
#573 David Moulton / @dmoulton - Score: 74 - 03/17/11 @ 20:01
i1<Esc>a. <Esc><Down><Left><Left>i2<Esc>.<Esc>x<Right>i <BS>. <Esc><Down><Left><Left>3i3. <Down><Left><Left><Left><Left>4. <Down><Left><Left><Left>5. <Down><Left><Left><Left><Left>6. <Down><Left><Left><Left>7. <Down><Left><Left><Left><Left>8. <Esc>:wq<CR>

0 comments


Created by: @khamer

573 active golfers, 1684 entries

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

06/25/2015 at 06:15PM

13
#2 - Elizabeth / @sprinkles418

06/30/2015 at 08:21PM

13
#3 - Mutter Mumble / @muttermumble

07/12/2015 at 01:45PM

13
#4 - John Braxler / @braxler

10/14/2015 at 03:27PM

13
#5 - Mike Adams / @davis_cromwell

10/16/2015 at 01:32AM

13
#6 - Jon Krause / @jkrause314

01/20/2016 at 06:53PM

13
#7 - Andrii Maksai / @AMaksai

01/21/2016 at 01:55PM

13
#8 - Dimitar Dimitrov / @kurkale6ka

03/16/2016 at 09:05AM

13
#9 - Nabarun Chatterjee / @nabarunch

08/26/2016 at 11:25PM

13
#10 - TweetDreams / @TweetMusicians

10/15/2016 at 11:45PM

13
#11 - trx / @trxdbg

10/26/2016 at 12:24PM

13
#12 - timerella® / @timerella

11/17/2016 at 10:45PM

13
#13 - setNull / @dadaojiemo

02/28/2017 at 01:54AM

13
#14 - Zhihong Liu / @pieapple03

02/28/2017 at 02:01AM

13
#15 - Pierre Maoui / @poupougnac

03/20/2017 at 09:24AM

13
#16 - Liam S Ismail / @AC01Y

04/04/2017 at 11:45PM

13
#17 - 梧桐王子 / @WutongYujie

05/22/2017 at 01:34AM

13
#18 - Florian Gauger / @FlorianGauger

06/05/2017 at 10:11PM

13
#19 - Frank Malone / @FrankMa00268686

06/29/2017 at 10:38AM

13
#20 - 杨洋 / @176795444

07/02/2017 at 05:31AM

13
#21 - Bennett Bernardoni / @BBernardoni

07/03/2017 at 08:59PM

13
#22 - FYN / @FYN_YEAH

08/30/2017 at 11:18AM

13
#23 - FYN_NO / @fyn_no

08/31/2017 at 10:54AM

13
#24 - Ben Hill / @KaizenSoze70

10/10/2017 at 07:35PM

13
#25 - Turkey Man / @lvturkeyman

11/13/2017 at 02:31PM

13
#26 - BarbaJol / @drpproteus

01/02/2018 at 02:54PM

13
#27 - ParasamGateZero / @ParasamGateZero

02/21/2018 at 09:53PM

13
#28 - LC / @leeren

03/02/2018 at 10:38AM

13
#29 - Jonathan Camilleri / @Too_Many_Taken

06/03/2018 at 09:26AM

13
#30 - 石奕心 / @allenshih1

06/07/2018 at 04:04AM