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

Refactor static member invocation - 180 entries

Someone used a static method. Refactor the method into a static import while fixing the assertion.

  • Best score: 28
  • Best player score: 62
  • Number of attempts: 1
Pretty format for variable declarations - 128 entries

Project standards demand the equal signs must be aligned for better readability.

  • Best score: 14
  • Best player score: 31
  • Number of attempts: 1
Where should I put the Newline? - 803 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 1
Words in parens - 11376 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 31
  • Number of attempts: 1
Two become one - 676 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 61
  • Number of attempts: 1
Append semicolon after expressions - 880 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 1
Condensed Cases - 700 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 37
  • Number of attempts: 1
I forgot quotes - 12736 entries

Oops.

  • Best score: 10
  • Best player score: 21
  • Number of attempts: 1
LSMTD
Twitter:

Microblog about the game LSMTD: Dev updates and story ideas. Also personal thoughts.

entered into 8 challenges

contributed 0 challenges