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 - 1298 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: #89 / 205
  • Number of attempts: 5
Rearrange array to one line - 602 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #32 / 144
  • Number of attempts: 6
Copy punctuation - 487 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: #17 / 121
  • Number of attempts: 7
Change LaTex itemizations formats - 103 entries

Inspired by the way my professor formats their LaTeX assignments.

  • Best score: 43
  • Best player score: 123
  • Position: #16 / 17
  • Number of attempts: 2
Deleting text - 254 entries

Delete everything except some specific numbers.

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

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

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

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

  • Best score: 28
  • Best player score: 41
  • Position: #934 / 1706
  • Number of attempts: 6
Marcos Almeida
Github:

entered into 7 challenges

contributed 0 challenges