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

Flip All Bits - 503 entries

Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.

  • Best score: 24
  • Best player score: 29
  • Position: #24 / 144
  • Number of attempts: 7
From brakets to parens - 1356 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: 26
  • Position: #95 / 309
  • Number of attempts: 6
Generate an entry for each month - 398 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 33
  • Position: #22 / 102
  • Number of attempts: 5
The Fibonacci Spacer - 175 entries

Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)

  • Best score: 14
  • Best player score: 32
  • Position: #13 / 54
  • Number of attempts: 5
Fix the Scala Method - 379 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 2
  • Best player score: 22
  • Position: #22 / 126
  • Number of attempts: 3
Change class fields from snake case to camel case - 336 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 13
  • Position: #39 / 127
  • Number of attempts: 6
Reorganize Pokémon - 902 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 19
  • Position: #75 / 251
  • Number of attempts: 6
Change readonly files - 141 entries

Try to write a file that was marked as read-only.

  • Best score: 16
  • Best player score: 20
  • Position: #6 / 39
  • Number of attempts: 5
Com(m)a Trouble - 3992 entries

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

  • Best score: 7
  • Best player score: 12
  • Position: #182 / 910
  • Number of attempts: 9
Alexander Cai
Github:

entered into 9 challenges

contributed 0 challenges