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 @davis_cromwell:

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

88 active golfers, 328 entries

Solutions by @davis_cromwell:
21
#16 - Mike Adams / @davis_cromwell

10/11/2015 at 02:26AM

21
#>16 - Mike Adams / @davis_cromwell

10/11/2015 at 02:28AM

22
#>28 - Mike Adams / @davis_cromwell

10/11/2015 at 02:23AM

24
#>42 - Mike Adams / @davis_cromwell

10/11/2015 at 02:21AM

28
#>49 - Mike Adams / @davis_cromwell

10/11/2015 at 02:20AM

33
#>63 - Mike Adams / @davis_cromwell

10/11/2015 at 02:20AM

38
#>74 - Mike Adams / @davis_cromwell

10/11/2015 at 02:19AM