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

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

  • Best score: 14
  • Best player score: 24
  • Position: #120 / 306
  • Number of attempts: 5
Rearrange array to one line - 889 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #53 / 205
  • Number of attempts: 6
Copy punctuation - 736 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 22
  • Position: #25 / 179
  • Number of attempts: 7
Change LaTex itemizations formats - 132 entries

Inspired by the way my professor formats their LaTeX assignments.

  • Best score: 43
  • Best player score: 123
  • Position: #22 / 23
  • Number of attempts: 2
Deleting text - 342 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 52
  • Position: #91 / 110
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 582 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #215 / 328
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7649 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 41
  • Position: #991 / 1882
  • Number of attempts: 6
Marcos Almeida
Github:

entered into 7 challenges

contributed 0 challenges