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 54f6e85d8dca0315e1010de1

Logging with key

Sometimes it is better to log with meaningful key

Start file
window.nestedFormEvents.insertFields = (content, assoc, link) ->
  console.log content, assoc, link
End file
window.nestedFormEvents.insertFields = (content, assoc, link) ->
  console.log
    content: content
    assoc: assoc
    link: link

View Diff

2c2,5
<   console.log content, assoc, link
---
>   console.log
>     content: content
>     assoc: assoc
>     link: link

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 76 remaining solutions by signing in and submitting your own entry
#77 Jurica / @Jurica34581259 - Score: 89 - 12/11/18 @ 14:58
/og<CR>2ld$o<Esc>p0:s/[ ,]\([a-z]\*<BS><Esc><Esc><Esc>:<Up>+<Left><Left><Left><Left><Left><Left><Left><Left><Left>\+<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>\)/    \1: \1\n/g<CR>u:<Up><Left><Left><Left><Right><BS>r<CR><Esc>ddZZ

0 comments


Created by: @yaachi

77 active golfers, 275 entries

Leaderboard (lowest score wins):
24
#31 - Carlos A Henríquez Q / @lagunex

03/04/2015 at 02:52PM

24
#32 - Matt / @mcr05

03/04/2015 at 04:17PM

24
#33 - octotep / @octotep

03/04/2015 at 08:52PM

24
#34 - Mike McGowan / @mikemcgowan75

03/08/2015 at 07:42PM

24
#35 - E Both / @enboth

04/07/2015 at 09:45PM

24
#36 - Tim Vail / @timdvail

08/05/2015 at 03:44AM

24
#37 - Walker Boh / @walker_boh

10/12/2015 at 08:22AM

25
#38 - Jeremie / @jermoer

03/04/2015 at 10:33PM

25
#39 - Laurent Stacul / @stac47

03/05/2015 at 01:09PM

26
#40 - TheProgrammer971 / @tp971

03/13/2015 at 09:52PM

28
#41 - Zach Kelling / @zeekay

03/04/2015 at 01:25PM

28
#42 - Carlos López / @morrizon

03/04/2015 at 01:31PM

28
#43 - Yuan Guan / @yuanguan89

03/05/2015 at 05:00AM

29
#44 - Mauro Persano / @fzort

06/04/2015 at 05:02PM

29
#45 - Gurukandhamoorthi / @Gurukandhamoor1

07/16/2017 at 03:55PM

30
#46 - James / @Dronak

03/11/2015 at 07:03PM

31
#47 - US Dollar Price / @USDollarPrice

03/07/2015 at 11:46PM

32
#48 - Kenny / @zumalifeguard

03/07/2015 at 03:03AM

33
#49 - Dan Oneata / @DanOneata

03/11/2015 at 02:30PM

33
#50 - Grigoriy Glushko / @grinderrz

03/12/2015 at 02:54PM

33
#51 - Louis Caruana / @louiecaruana

03/17/2015 at 04:34AM

33
#52 - ipson_nek / @ipson_nek

03/26/2015 at 02:57PM

33
#53 - Charles Joachim / @cacplate

04/18/2015 at 01:24PM

33
#54 - MrTchuss / @buffer_x90

08/08/2015 at 03:24PM

34
#55 - chvzvhn / @chvzvhn

04/26/2015 at 05:01AM

35
#56 - Matthew Sterritt / @GodJinrai

03/10/2015 at 03:09PM

35
#57 - [object Object] / @marinintim

10/15/2015 at 02:59PM

35
#58 - Tj / @yrddy

03/02/2016 at 04:42AM

36
#59 - Anoop Kumar / @anooplive

03/05/2015 at 02:46PM

36
#60 - Wandering ponderer / @0proxycon

03/10/2015 at 10:23PM