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

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

  • Best score: 17
  • Best player score: 49
  • Position: #56 / 103
  • Number of attempts: 4
Rearrange array to single level - 1590 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: #91 / 265
  • Number of attempts: 2
Rearrange array to one line - 737 entries

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

  • Best score: 13
  • Best player score: 33
  • Position: #155 / 180
  • Number of attempts: 2
New teacher - 1399 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #137 / 295
  • Number of attempts: 2

Contributed Challenges

From brakets to parens - 403 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