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

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

  • Best score: 17
  • Best player score: 49
  • Position: #66 / 126
  • Number of attempts: 4
Rearrange array to single level - 1802 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: #102 / 303
  • Number of attempts: 2
Rearrange array to one line - 855 entries

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

  • Best score: 13
  • Best player score: 33
  • Position: #173 / 201
  • Number of attempts: 2
New teacher - 1494 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #145 / 312
  • Number of attempts: 2

Contributed Challenges

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