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

Sort and Tag - 148 entries

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

  • Best score: 36
  • Best player score: 37
  • Position: #7 / 40
  • Number of attempts: 11
Swap columns and transform to CSV format - 168 entries

Turn this spreadsheet output into a CSV file but first swap the columns

  • Best score: 16
  • Best player score: 16
  • Position: #7 / 63
  • Number of attempts: 7
Copy punctuation - 511 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 19
  • Position: #8 / 127
  • Number of attempts: 12
New teacher - 1039 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 19
  • Position: #19 / 222
  • Number of attempts: 12
Daniel Fleischman
Github:

entered into 4 challenges

contributed 0 challenges