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

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

86 active golfers, 301 entries

Solutions by @DHM29978992:
22
#28 - DHM / @DHM29978992

05/01/2018 at 01:31AM

24
#>41 - DHM / @DHM29978992

05/01/2018 at 01:29AM

27
#>44 - DHM / @DHM29978992

05/01/2018 at 01:28AM

32
#>54 - DHM / @DHM29978992

05/01/2018 at 01:21AM

35
#>65 - DHM / @DHM29978992

05/01/2018 at 01:26AM