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 - 1092 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: #83 / 184
  • Number of attempts: 6
New teacher - 836 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 19
  • Position: #14 / 174
  • Number of attempts: 16
Quicksort - 1875 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: #397 / 411
  • Number of attempts: 2
Reconstruct the Sentence - 1477 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: 118
  • Position: #403 / 405
  • Number of attempts: 2
Simple text editing with Vim - 12680 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 / 3665
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 6866 entries

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

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

entered into 6 challenges

contributed 0 challenges