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

Quicksort - 2094 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 38
  • Position: #402 / 464
  • Number of attempts: 2
Add quotes to ansible playbook - 1036 entries

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

  • Best score: 8
  • Best player score: 9
  • Position: #203 / 327
  • Number of attempts: 9
Wrap the text of an email message to 79 characters - 851 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #292 / 440
  • Number of attempts: 1
Get rid of html tags - 440 entries

Want to read more about Vim's background? Then get rid of those html tags...

  • Best score: 12
  • Best player score: 17
  • Position: #137 / 251
  • Number of attempts: 2
Sort and add attributes - 1552 entries

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

  • Best score: 33
  • Best player score: 33
  • Position: #268 / 599
  • Number of attempts: 3
Reconstruct the Sentence - 1690 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: 21
  • Position: #262 / 444
  • Number of attempts: 7
Whitespace, empty lines and tabs - 3927 entries

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

  • Best score: 16
  • Best player score: 16
  • Position: #34 / 838
  • Number of attempts: 8
Simple text editing with Vim - 13369 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #701 / 3834
  • Number of attempts: 4
k84d
Github:

entered into 8 challenges

contributed 0 challenges