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 - 1802 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: #119 / 303
  • Number of attempts: 5
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: 15
  • Position: #49 / 201
  • Number of attempts: 6
Copy punctuation - 727 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 / 177
  • Number of attempts: 7
Change LaTex itemizations formats - 131 entries

Inspired by the way my professor formats their LaTeX assignments.

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

Delete everything except some specific numbers.

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

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

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

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

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

entered into 7 challenges

contributed 0 challenges