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

Condensed Cases - 811 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
  • Position: #245 / 249
  • Number of attempts: 1
Pretty format for variable declarations - 174 entries

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

  • Best score: 13
  • Best player score: 31
  • Position: #65 / 65
  • Number of attempts: 1
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 21
  • Position: #3723 / 4208
  • Number of attempts: 1
Refactor static member invocation - 199 entries

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

  • Best score: 28
  • Best player score: 62
  • Position: #63 / 64
  • Number of attempts: 1
Two become one - 720 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
  • Position: #207 / 210
  • Number of attempts: 1
Where should I put the Newline? - 885 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 10
  • Position: #434 / 439
  • Number of attempts: 1
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 31
  • Position: #3907 / 3979
  • Number of attempts: 1
Append semicolon after expressions - 1061 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 16
  • Position: #400 / 421
  • 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