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 [challenge ID]

Played Challenges

Put a newline after every 10 lines in vim - 1294 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 11
  • Position: #41 / 443
  • Number of attempts: 6
hello-world-vimgolf - 1906 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #96 / 544
  • Number of attempts: 10
swap number pairs - 1838 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 25
  • Position: #162 / 340
  • Number of attempts: 1
Add quotes to ansible playbook - 838 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 9
  • Position: #167 / 264
  • Number of attempts: 4
Sort and add attributes - 1245 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 38
  • Position: #436 / 503
  • Number of attempts: 1
Dima Horshenin
Twitter:

entered into 5 challenges

contributed 0 challenges