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 - 852 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #365 / 441
  • Number of attempts: 1
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #1967 / 3979
  • 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 - 321 entries

Round Round

  • Best score: 19
  • Best player score: 27
  • Position: #37 / 88
  • Number of attempts: 1
Reverse characters in a line - 806 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: #253 / 271
  • Number of attempts: 2
Sort and add attributes - 1557 entries

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

  • Best score: 33
  • Best player score: 37
  • Position: #474 / 601
  • Number of attempts: 1
Reconstruct the Sentence - 1697 entries

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

  • Best score: 19
  • Best player score: 25
  • Position: #339 / 445
  • Number of attempts: 1
Whitespace, empty lines and tabs - 3949 entries

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

  • Best score: 16
  • Best player score: 29
  • Position: #530 / 841
  • Number of attempts: 4
Simple text editing with Vim - 13416 entries

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

  • Best score: 13
  • Best player score: 27
  • Position: #3356 / 3845
  • 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