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

Change to ascending order - 450 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 49
  • Position: #60 / 110
  • Number of attempts: 4
Rearrange array to single level - 1649 entries

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

  • Best score: 14
  • Best player score: 22
  • Position: #94 / 272
  • Number of attempts: 2
Rearrange array to one line - 758 entries

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

  • Best score: 13
  • Best player score: 33
  • Position: #157 / 182
  • Number of attempts: 2
New teacher - 1423 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #141 / 300
  • Number of attempts: 2

Contributed Challenges

From brakets to parens - 625 entries

This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.

mirroris
Github:

entered into 4 challenges

contributed 1 challenges