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

Wrap the text of an email message to 79 characters - 750 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 6
  • Position: #333 / 405
  • Number of attempts: 1
Words in parens - 12918 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #1953 / 3957
  • Number of attempts: 3
Recursively Palindrome - 267 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 26
  • Position: #48 / 75
  • Number of attempts: 1
Round Round - 299 entries

Round Round

  • Best score: 19
  • Best player score: 27
  • Position: #36 / 87
  • Number of attempts: 1
Reverse characters in a line - 750 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 32
  • Position: #243 / 261
  • Number of attempts: 2
Sort and add attributes - 1418 entries

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

  • Best score: 33
  • Best player score: 37
  • Position: #434 / 551
  • Number of attempts: 1
Reconstruct the Sentence - 1467 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 20
  • Best player score: 25
  • Position: #309 / 403
  • Number of attempts: 1
Whitespace, empty lines and tabs - 3567 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 29
  • Position: #486 / 770
  • Number of attempts: 4
Simple text editing with Vim - 12626 entries

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

  • Best score: 13
  • Best player score: 27
  • Position: #3200 / 3652
  • Number of attempts: 1
☣Rob Mason☠
Twitter:

GW2 player; Linux & Android enthusiast; skeptic; purveyor of science, logic & reason; secularist; freethinker; 'hacker'; command line wizard; all-around nerd ت

entered into 9 challenges

contributed 0 challenges