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

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

  • Best score: 24
  • Best player score: 51
  • Position: #180 / 216
  • Number of attempts: 1
Sort and Tag - 676 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: 200
  • Position: #129 / 140
  • Number of attempts: 1
Changing date formats - 688 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 65
  • Position: #66 / 189
  • Number of attempts: 3
Change to ascending order - 487 entries

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

  • Best score: 17
  • Best player score: 63
  • Position: #82 / 120
  • Number of attempts: 2
Reorganize Pokémon - 776 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 30
  • Position: #189 / 215
  • Number of attempts: 2
Com(m)a Trouble - 3968 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 20
  • Position: #671 / 901
  • Number of attempts: 1
Pranav Varkey
Github:

entered into 6 challenges

contributed 0 challenges