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):
36
#61 - Jeremiah Goyette / @JeremiahGoyette

08/04/2016 at 01:05AM

36
#62 - Andrew Smith / @amazing_andrew

08/14/2016 at 01:47AM

38
#63 - Sebastian Korten / @FlashKorten

03/04/2015 at 11:28AM

38
#64 - Benny Wong / @bdotdub

04/14/2015 at 03:04AM

38
#65 - Marius Jurgelenas / @MarenasLT

03/22/2018 at 01:46PM

39
#66 - Kiet Nguyen / @kietnguyen86

03/08/2015 at 01:49AM

39
#67 - Evan Coleman / @edc1591

04/14/2015 at 03:17AM

39
#68 - Cosmin Banu / @cosminb82

05/06/2015 at 08:59PM

41
#69 - Tom van der Lee / @TomVdLee

04/17/2015 at 02:24PM

42
#70 - cg.sg.im / @CoGe_StGa_idma

03/31/2015 at 12:46AM

43
#71 - DrHobo / @_DrHobo_

03/05/2015 at 08:07PM

46
#72 - Deepak Surti / @dmsurti

03/13/2015 at 02:55PM

46
#73 - Joel Gallant / @joelg236

10/07/2016 at 05:30PM

48
#74 - Jakub Horák / @kubahorak

03/05/2015 at 04:00PM

54
#75 - Dane Summers / @dsummersl

03/07/2015 at 12:41AM

57
#76 - ɐʇnɥsɐpoʇ / @todashuta

03/25/2015 at 09:19AM

89
#77 - Jurica / @Jurica34581259

12/11/2018 at 02:58PM