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 5bed1691139d1c000cb0565d

simple format

make it look better.

Start file
one:1
two:2
three:3
four:4
five:5
six:6
seven:7
eight:8
nine:9
ten:10
End file
  "one":1
  "two":2
"three":3
 "four":4
 "five":5
  "six":6
"seven":7
"eight":8
 "nine":9
  "ten":10

View Diff

1,10c1,10
< one:1
< two:2
< three:3
< four:4
< five:5
< six:6
< seven:7
< eight:8
< nine:9
< ten:10
---
>   "one":1
>   "two":2
> "three":3
>  "four":4
>  "five":5
>   "six":6
> "seven":7
> "eight":8
>  "nine":9
>   "ten":10

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 131 remaining solutions by signing in and submitting your own entry
#132 aced cibi / @acedcibi - Score: 225 - 11/28/18 @ 04:48
jji:<BS>"<Esc>lllll"i"ii"<BS><Esc>ll:<Esc><Esc>i"<Esc>jjjj0i"<Esc>lllllli"<Esc>j0i"<Esc>lllllli"<Esc>kkkkkkk0'ii  "<Esc>jjkklllli"<Esc>j0i  "<Esc>lllli:<BS>"<Esc>jj0i:=<BS>==<BS><BS><BS>"<Esc>jkllllli"<Esc>0 hi <Esc>ji "<Esc>lllllil<BS>'<BS>'<BS>;<BS>"<Esc>j0i   "<Esc>lll;li"<Esc>jkhhhhhxjjj0i"<Esc>llllli:<BS>"<Esc>0i <Esc>j8  o<Esc>u0i"<BS>  "<Esc>lllli"<Esc>:w<CR>:q<CR>

0 comments


Created by: @zacoxi

132 active golfers, 579 entries

Leaderboard (lowest score wins):
21
#1 - Saki Gw / @Sakigw

11/15/2018 at 11:06AM

21
#2 - Smylers / @Smylers2

11/15/2018 at 11:47AM

21
#3 - John Braxler / @braxler

11/15/2018 at 01:59PM

21
#4 - Dax / @zacoxi

11/16/2018 at 12:59AM

21
#5 - Bruno Cunha / @bruncun

11/17/2018 at 01:58PM

21
#6 - h3is3nd3rp / @h3is3nd3rp

11/20/2018 at 10:04PM

21
#7 - Liu Sha / @xinkele

11/22/2018 at 01:43PM

21
#8 - Mihai / @mihaicristiant

11/25/2018 at 08:53AM

21
#9 - Jonathan Cabezas / @John_Harkan

11/25/2018 at 05:24PM

21
#10 - Turkey Man / @lvturkeyman

11/30/2018 at 07:44AM

21
#11 - あすたちん / @astatine0x55

12/01/2018 at 02:01PM

21
#12 - Angry Dev / @AngryDev7

12/01/2018 at 02:34PM

21
#13 - Artur Mróz / @MrozArtur

12/05/2018 at 05:54PM

21
#14 - Cabal51 / @Cabal51

12/05/2018 at 10:44PM

21
#15 - shw / @shw30127562

12/06/2018 at 12:44PM

22
#16 - Jon Krause / @jkrause314

11/16/2018 at 02:06AM

22
#17 - Daniel Hjelm / @dhjelm

11/19/2018 at 06:39PM

22
#18 - Андрей / @777Android777

11/20/2018 at 04:34AM

22
#19 - Tänka tanken / @Tevippen

11/22/2018 at 01:21AM

22
#20 - io / @iovis9

11/22/2018 at 12:07PM

22
#21 - Johannes Noe / @videjonoe

11/23/2018 at 08:49AM

22
#22 - name / @name65894813

11/26/2018 at 03:42PM

22
#23 - unclewangshushu / @shuwushu

11/28/2018 at 08:14PM

22
#24 - 土豆 / @hujianxincn

12/09/2018 at 02:13AM

23
#25 - Maxim Kim / @mxmkm

11/15/2018 at 08:12AM

23
#26 - Kai Yuan / @kentyuan

11/15/2018 at 04:13PM

23
#27 - owen s vallis / @OwenVallis

11/17/2018 at 07:18AM

23
#28 - tPenguinLTG / @tpenguinltg

11/18/2018 at 05:10PM

23
#29 - zealotrush / @zealotrush

11/19/2018 at 05:34AM

23
#30 - Timothy Michael Fox / @Timothy_M_Fox

11/20/2018 at 09:35PM