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 87 remaining solutions by signing in and submitting your own entry
#88 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

88 active golfers, 328 entries

Leaderboard (lowest score wins):
33
#61 - ipson_nek / @ipson_nek

03/26/2015 at 02:57PM

33
#62 - Charles Joachim / @cacplate

04/18/2015 at 01:24PM

33
#63 - MrTchuss / @buffer_x90

08/08/2015 at 03:24PM

34
#64 - chvzvhn / @chvzvhn

04/26/2015 at 05:01AM

35
#65 - Matthew Sterritt / @GodJinrai

03/10/2015 at 03:09PM

35
#66 - [object Object] / @marinintim

10/15/2015 at 02:59PM

35
#67 - Tj / @yrddy

03/02/2016 at 04:42AM

35
#68 - x03n046 / @x03n046

05/20/2022 at 05:35AM

36
#69 - Anoop Kumar / @anooplive

03/05/2015 at 02:46PM

36
#70 - Wandering ponderer / @0proxycon

03/10/2015 at 10:23PM

36
#71 - Jeremiah Goyette / @JeremiahGoyette

08/04/2016 at 01:05AM

36
#72 - Andrew Smith / @amazing_andrew

08/14/2016 at 01:47AM

38
#73 - Sebastian Korten / @FlashKorten

03/04/2015 at 11:28AM

38
#74 - Benny Wong / @bdotdub

04/14/2015 at 03:04AM

38
#75 - Marius Jurgelenas / @MarenasLT

03/22/2018 at 01:46PM

39
#76 - Kiet Nguyen / @kietnguyen86

03/08/2015 at 01:49AM

39
#77 - Evan Coleman / @edc1591

04/14/2015 at 03:17AM

39
#78 - Cosmin Banu / @cosminb82

05/06/2015 at 08:59PM

40
#79 - Olivier Bégassat / @zk_evm

06/14/2023 at 07:03PM

41
#80 - Tom van der Lee / @TomVdLee

04/17/2015 at 02:24PM

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

03/31/2015 at 12:46AM

43
#82 - DrHobo / @_DrHobo_

03/05/2015 at 08:07PM

46
#83 - Deepak Surti / @dmsurti

03/13/2015 at 02:55PM

46
#84 - Joel Gallant / @joelg236

10/07/2016 at 05:30PM

48
#85 - Jakub Horák / @kubahorak

03/05/2015 at 04:00PM

54
#86 - Dane Summers / @dsummersl

03/07/2015 at 12:41AM

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

03/25/2015 at 09:19AM

89
#88 - Jurica / @Jurica34581259

12/11/2018 at 02:58PM