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 - 1964 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: #374 / 433
  • Number of attempts: 2
Add quotes to ansible playbook - 957 entries

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

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

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

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

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

  • Best score: 12
  • Best player score: 17
  • Position: #131 / 233
  • Number of attempts: 2
Sort and add attributes - 1460 entries

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

  • Best score: 33
  • Best player score: 33
  • Position: #268 / 567
  • Number of attempts: 3
Reconstruct the Sentence - 1523 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: #249 / 415
  • Number of attempts: 7
Whitespace, empty lines and tabs - 3680 entries

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

  • Best score: 16
  • Best player score: 16
  • Position: #34 / 790
  • Number of attempts: 8
Simple text editing with Vim - 12823 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 / 3699
  • Number of attempts: 4
k84d
Github:

entered into 8 challenges

contributed 0 challenges