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 - 1563 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: #104 / 258
  • Number of attempts: 5
Rearrange array to one line - 720 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #38 / 175
  • Number of attempts: 6
Copy punctuation - 599 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: #19 / 149
  • Number of attempts: 7
Change LaTex itemizations formats - 110 entries

Inspired by the way my professor formats their LaTeX assignments.

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

Delete everything except some specific numbers.

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

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

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

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

  • Best score: 10
  • Best player score: 41
  • Position: #954 / 1792
  • Number of attempts: 6
Marcos Almeida
Github:

entered into 7 challenges

contributed 0 challenges