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 - 1374 entries

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

  • Best score: 14
  • Best player score: 38
  • Position: #174 / 221
  • Number of attempts: 2
Rearrange array to one line - 638 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 21
  • Position: #86 / 157
  • Number of attempts: 3
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: 39
  • Position: #72 / 127
  • Number of attempts: 3
Column wise pasting - 173 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 37
  • Position: #27 / 38
  • Number of attempts: 2
Deleting text - 255 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #56 / 82
  • Number of attempts: 1
Find anomalies - 151 entries

There is one special character per line

  • Best score: 30
  • Best player score: 59
  • Position: #33 / 41
  • Number of attempts: 2
New teacher - 1039 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 27
  • Position: #135 / 222
  • Number of attempts: 2
Replace word while reserving first letter case - 604 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 28
  • Position: #41 / 118
  • Number of attempts: 1
2 quick changes and a numbered list - 647 entries

The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.

  • Best score: 37
  • Best player score: 112
  • Position: #142 / 154
  • Number of attempts: 3
Reformat a C golf submission - 612 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 28
  • Position: #69 / 209
  • Number of attempts: 1
gnragazzi
Github:

entered into 10 challenges

contributed 0 challenges