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

Rearrange array to single level - 1425 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 24
  • Position: #101 / 233
  • Number of attempts: 6
New teacher - 1197 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 19
  • Position: #14 / 251
  • Number of attempts: 16
Quicksort - 2005 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: 83
  • Position: #426 / 442
  • Number of attempts: 2
Reconstruct the Sentence - 1599 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: 118
  • Position: #424 / 426
  • Number of attempts: 2
Simple text editing with Vim - 13013 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #720 / 3744
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7173 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 28
  • Best player score: 53
  • Position: #1491 / 1761
  • Number of attempts: 3
tncargil
Github:

entered into 6 challenges

contributed 0 challenges