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 by @pftb12345:

Unlock 5 remaining solutions by signing in and submitting your own entry
Created by: @yaachi

81 active golfers, 282 entries

Solutions by @pftb12345:
23
#30 - pftb12345 / @pftb12345

03/29/2015 at 12:47PM

30
#>48 - pftb12345 / @pftb12345

03/29/2015 at 12:15PM

33
#>56 - pftb12345 / @pftb12345

03/29/2015 at 11:45AM

37
#>66 - pftb12345 / @pftb12345

03/29/2015 at 11:41AM

39
#>70 - pftb12345 / @pftb12345

03/29/2015 at 11:37AM