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

swap number pairs - 2115 entries

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

  • Best score: 16
  • Best player score: 35
  • Position: #292 / 384
  • Number of attempts: 1
prepend * to every non-blank line - 6352 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 14
  • Position: #879 / 1548
  • Number of attempts: 1
Add semicolons - 10887 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1805 / 3074
  • Number of attempts: 1
attr_aligner - 3522 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 31
  • Position: #396 / 703
  • Number of attempts: 7
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1272 / 3969
  • Number of attempts: 6
Simple text editing with Vim - 13012 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 17
  • Position: #2421 / 3743
  • Number of attempts: 1
Tosoa Bacca
Twitter:

Do Fun Things with Big Loud Wookies #elixir - PP by Scott Schiedly https://t.co/rzu5EoCSSf…)

entered into 6 challenges

contributed 0 challenges